Browse Source

Skip staking utxo for ac_perc chains that stake

pull/4/head
jl777 5 years ago
parent
commit
2ad90b9bd0
  1. 2
      src/komodo_bitcoind.h

2
src/komodo_bitcoind.h

@ -1190,6 +1190,8 @@ uint64_t komodo_commission(const CBlock *pblock,int32_t height)
n = pblock->vtx[i].vout.size();
for (j=0; j<n; j++)
{
if ( height > 100000 && ASSETCHAINS_STAKED != 0 && txn_count > 1 && i == txn_count-1 && n == 1 )
break;
//fprintf(stderr,"(%d %.8f).%d ",i,dstr(pblock->vtx[i].vout[j].nValue),j);
if ( i != 0 || j != 1 )
total += pblock->vtx[i].vout[j].nValue;

Loading…
Cancel
Save