This commit is contained in:
blackjok3r
2018-10-29 23:41:54 +08:00
parent 2c98a4f5fe
commit 30d0a58a1a

View File

@@ -1683,7 +1683,7 @@ bool GetAddressUnspent(uint160 addressHash, int type,
else return(coins.vout[n].nValue); else return(coins.vout[n].nValue);
}*/ }*/
bool myAddtomempool(CTransaction &tx,boost:optional<int> bool_nullifiers) bool myAddtomempool(CTransaction &tx,boost::optional<int> bool_nullifiers)
{ {
CValidationState state; CTransaction Ltx; bool fMissingInputs,fOverrideFees = false; CValidationState state; CTransaction Ltx; bool fMissingInputs,fOverrideFees = false;
if ( mempool.lookup(tx.GetHash(),Ltx) == 0 ) { if ( mempool.lookup(tx.GetHash(),Ltx) == 0 ) {