fix: incorrect link to mixin tx

master
moneroexamples 8 years ago
parent c71dc2592f
commit f1088e5154

@ -1464,6 +1464,8 @@ public:
break; break;
} }
string mixin_tx_hash_str = pod_to_hex(tx_out_idx.first);
mixins.push_back(mstch::map{ mixins.push_back(mstch::map{
{"mixin_pub_key" , out_pub_key_str}, {"mixin_pub_key" , out_pub_key_str},
make_pair<string, mstch::array>("mixin_outputs" , mstch::array{}), make_pair<string, mstch::array>("mixin_outputs" , mstch::array{}),
@ -1505,7 +1507,7 @@ public:
output_pub_keys = xmreg::get_ouputs_tuple(mixin_tx); output_pub_keys = xmreg::get_ouputs_tuple(mixin_tx);
mixin_outputs.push_back(mstch::map{ 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}, {"mix_tx_pub_key" , mixin_tx_pub_key_str},
make_pair<string, mstch::array>("found_outputs" , mstch::array{}), make_pair<string, mstch::array>("found_outputs" , mstch::array{}),
{"has_found_outputs", false} {"has_found_outputs", false}

@ -93,7 +93,8 @@
<td style="text-align: center;"> <td style="text-align: center;">
Mixin {{mixin_pub_key}} might use your outputs Mixin {{mixin_pub_key}} might use your outputs
<br/> <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> </td>
</tr> </tr>
{{#has_found_outputs}} {{#has_found_outputs}}

Loading…
Cancel
Save