add ringct type to tx info

master
moneroexamples 8 years ago
parent 2b687352e3
commit 2f5d118663

@ -3882,6 +3882,7 @@ private:
with_ring_signatures)}, with_ring_signatures)},
{"tx_json" , tx_json}, {"tx_json" , tx_json},
{"is_ringct" , (tx.version > 1)}, {"is_ringct" , (tx.version > 1)},
{"rct_type" , tx.rct_signatures.type},
{"has_error" , false}, {"has_error" , false},
{"error_msg" , string("")}, {"error_msg" , string("")},
{"have_raw_tx" , false}, {"have_raw_tx" , false},

@ -44,9 +44,10 @@
<tr> <tr>
<td>Tx version: {{tx_version}}</td> <td>Tx version: {{tx_version}}</td>
<td>No of confirmations: {{confirmations}}</td> <td>No of confirmations: {{confirmations}}</td>
<td></td> <td>RingCT/type: {{#is_ringct}}yes/{{rct_type}}{{/is_ringct}}{{^is_ringct}}no{{/is_ringct}}</td>
</tr> </tr>
<tr> <tr>
<td colspan="3">Extra: {{extra}}</td> <td colspan="3">Extra: {{extra}}</td>
</tr> </tr>

Loading…
Cancel
Save