From f1088e5154c80205da517cbdf8d055d39aeedbf1 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Sun, 22 Jan 2017 09:55:19 +0800 Subject: [PATCH] fix: incorrect link to mixin tx --- src/page.h | 4 +++- src/templates/my_outputs.html | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/page.h b/src/page.h index 0e1728a..0c9216d 100644 --- a/src/page.h +++ b/src/page.h @@ -1464,6 +1464,8 @@ public: break; } + string mixin_tx_hash_str = pod_to_hex(tx_out_idx.first); + mixins.push_back(mstch::map{ {"mixin_pub_key" , out_pub_key_str}, make_pair("mixin_outputs" , mstch::array{}), @@ -1505,7 +1507,7 @@ public: output_pub_keys = xmreg::get_ouputs_tuple(mixin_tx); mixin_outputs.push_back(mstch::map{ - {"mix_tx_hash" , tx_hash_str}, + {"mix_tx_hash" , mixin_tx_hash_str}, {"mix_tx_pub_key" , mixin_tx_pub_key_str}, make_pair("found_outputs" , mstch::array{}), {"has_found_outputs", false} diff --git a/src/templates/my_outputs.html b/src/templates/my_outputs.html index b9f1163..e68c9aa 100644 --- a/src/templates/my_outputs.html +++ b/src/templates/my_outputs.html @@ -93,7 +93,8 @@ Mixin {{mixin_pub_key}} might use your outputs
- from tx of public key: {{mix_tx_pub_key}} + from tx of hash: {{mix_tx_hash}} +
(tx public key: {{mix_tx_pub_key}}) {{#has_found_outputs}}