mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
refactor: allowFree -> ignoreFees
This commit is contained in:
parent
db18ce0480
commit
154567bf5d
@ -4610,7 +4610,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
||||
CTransaction tx;
|
||||
|
||||
//masternode signed transaction
|
||||
bool allowFree = false;
|
||||
bool ignoreFees = false;
|
||||
CTxIn vin;
|
||||
vector<unsigned char> vchSig;
|
||||
int64_t sigTime;
|
||||
@ -4641,7 +4641,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
||||
|
||||
LogPrintf("dstx: Got Masternode transaction %s\n", tx.GetHash().ToString().c_str());
|
||||
|
||||
allowFree = true;
|
||||
ignoreFees = true;
|
||||
pmn->allowFreeTx = false;
|
||||
|
||||
if(!mapDarksendBroadcastTxes.count(tx.GetHash())){
|
||||
@ -4666,7 +4666,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
||||
|
||||
mapAlreadyAskedFor.erase(inv);
|
||||
|
||||
if (AcceptToMemoryPool(mempool, state, tx, true, &fMissingInputs, false, allowFree))
|
||||
if (AcceptToMemoryPool(mempool, state, tx, true, &fMissingInputs, false, ignoreFees))
|
||||
{
|
||||
mempool.check(pcoinsTip);
|
||||
RelayTransaction(tx);
|
||||
|
Loading…
Reference in New Issue
Block a user