From abc0a480fa2a18c6567fa77e34c8f57f9032db4e Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Fri, 21 Oct 2016 14:25:26 +0800 Subject: [PATCH] tx_prv_key added to tx_context, but disabled for now. --- src/page.h | 2 ++ src/templates/partials/tx_details.html | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/page.h b/src/page.h index bf44f21..93f7e1b 100644 --- a/src/page.h +++ b/src/page.h @@ -1603,6 +1603,8 @@ namespace xmreg { return boost::get(tx_context["error_msg"]); } + tx_context["tx_prv_key"] = fmt::format("{:s}", ptx.tx_key); + mstch::array destination_addresses; // destiantion address for this tx diff --git a/src/templates/partials/tx_details.html b/src/templates/partials/tx_details.html index 43ead6a..7491eff 100644 --- a/src/templates/partials/tx_details.html +++ b/src/templates/partials/tx_details.html @@ -3,6 +3,9 @@

Tx hash: {{tx_hash}}

Tx public key: {{tx_pub_key}}
+ {{#have_raw_tx}} + + {{/have_raw_tx}} {{#has_payment_id}}