This commit is contained in:
jl777
2018-06-28 23:33:52 -11:00
parent 76471d5658
commit 85df50842b

View File

@@ -2792,8 +2792,8 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend, CWalletTx& wt
//}
if ( ASSETCHAINS_SYMBOL[0] == 0 && DONATION_PUBKEY.size() == 66 && interest2 > 5000 )
{
CTxOut newTxOut;
txNew.vout.insert(txNew.vout.size(), newTxOut(interest2, CScript() << ParseHex(DONATION_PUBKEY) << OP_CHECKSIG));
CTxOut newTxOut(interest2, CScript() << ParseHex(DONATION_PUBKEY) << OP_CHECKSIG);
txNew.vout.insert(txNew.vout.size(),newTxOut) ;
interest2 = 0;
}
CAmount nChange = (nValueIn - nValue + interest2);