This commit is contained in:
jl777
2018-04-07 14:30:34 +03:00
parent cc3e11f51a
commit c48fd6e318

View File

@@ -398,6 +398,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
txNew.vin[0].scriptSig = CScript() << nHeight << OP_0;
if ( ASSETCHAINS_SYMBOL[0] != 0 && ASSETCHAINS_OVERRIDE_PUBKEY33[0] != 0 && ASSETCHAINS_COMMISSION != 0 && (checktoshis= komodo_commission(block)) != 0 )
{
int32_t i; uint8_t *ptr;
txNew.vout.resize(2);
txNew.vout[1].nValue = checktoshis;
txNew.vout[1].scriptPubKey.resize(35);