fix: incorrect link to mixin tx

This commit is contained in:
moneroexamples 2017-01-22 09:55:19 +08:00
parent c71dc2592f
commit f1088e5154
2 changed files with 5 additions and 2 deletions

View File

@ -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<string, mstch::array>("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<string, mstch::array>("found_outputs" , mstch::array{}),
{"has_found_outputs", false}

View File

@ -93,7 +93,8 @@
<td style="text-align: center;">
Mixin {{mixin_pub_key}} might use your outputs
<br/>
from tx of public key: <a href="/tx/{{mix_tx_hash}}">{{mix_tx_pub_key}}</a>
from tx of hash: <a href="/tx/{{mix_tx_hash}}">{{mix_tx_hash}}</a>
<br/>(tx public key: {{mix_tx_pub_key}})
</td>
</tr>
{{#has_found_outputs}}