diff --git a/src/cc/CCinclude.h b/src/cc/CCinclude.h index 761e64bcd..c12389275 100644 --- a/src/cc/CCinclude.h +++ b/src/cc/CCinclude.h @@ -60,7 +60,7 @@ bool GetAddressUnspent(uint160 addressHash, int type,std::vector 64 && is_hexstr((char *)res.c_str(),0) > 64 ) { if ( DecodeHexTx(tx,res) != 0 ) diff --git a/src/main.cpp b/src/main.cpp index 87e79eafc..2b239dcf3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1623,7 +1623,7 @@ bool GetAddressUnspent(uint160 addressHash, int type, else return(coins.vout[n].nValue); }*/ -bool myAddtomempool(CTransaction &tx) +bool myAddtomempool(const CTransaction &tx) { CValidationState state; CTransaction Ltx; bool fMissingInputs,fOverrideFees = false; if ( mempool.lookup(tx.GetHash(),Ltx) == 0 )