Dont calculate fee for conaibase txs

master
moneroexamples 9 years ago
parent ebc199e040
commit 189809831a

@ -1324,7 +1324,7 @@ namespace xmreg {
// get mixin number // get mixin number
txd.mixin_no = get_mixin_no(tx); txd.mixin_no = get_mixin_no(tx);
if (!coinbase) if (!coinbase && tx.vin.size() > 1)
{ {
// get tx fee // get tx fee
txd.fee = get_tx_fee(tx); txd.fee = get_tx_fee(tx);

Loading…
Cancel
Save