tx_prv_key added to tx_context, but disabled for now.

This commit is contained in:
moneroexamples 2016-10-21 14:25:26 +08:00
parent 7e1c12b192
commit abc0a480fa
2 changed files with 5 additions and 0 deletions

View File

@ -1603,6 +1603,8 @@ namespace xmreg {
return boost::get<string>(tx_context["error_msg"]);
}
tx_context["tx_prv_key"] = fmt::format("{:s}", ptx.tx_key);
mstch::array destination_addresses;
// destiantion address for this tx

View File

@ -3,6 +3,9 @@
<H4 style="margin:5px">Tx hash: {{tx_hash}}</H4>
<H5 style="margin:5px">Tx public key: {{tx_pub_key}}</H5>
{{#have_raw_tx}}
<!--<H5 style="margin:5px">Tx private key: {{tx_prv_key}}</H5>-->
{{/have_raw_tx}}
{{#has_payment_id}}