Skip fractional utxo for staking
This commit is contained in:
@@ -4625,6 +4625,8 @@ int32_t komodo_staked(CMutableTransaction &txNew,uint32_t nBits,uint32_t *blockt
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
CAmount nValue = out.tx->vout[out.i].nValue;
|
CAmount nValue = out.tx->vout[out.i].nValue;
|
||||||
|
if ( nValue < COIN && *utxovaluep != 0 )
|
||||||
|
continue;
|
||||||
const CScript& pk = out.tx->vout[out.i].scriptPubKey;
|
const CScript& pk = out.tx->vout[out.i].scriptPubKey;
|
||||||
//entry.push_back(Pair("generated", out.tx->IsCoinBase()));
|
//entry.push_back(Pair("generated", out.tx->IsCoinBase()));
|
||||||
CTxDestination address;
|
CTxDestination address;
|
||||||
|
|||||||
Reference in New Issue
Block a user