Fee requirement only applies to txs with OP_RETURN
This commit is contained in:
@@ -539,7 +539,7 @@ CBlockTemplate* CreateNewBlock(CPubKey _pk,const CScript& _scriptPubKeyIn, int32
|
||||
}
|
||||
}
|
||||
|
||||
if (nTxFees < opretMinFee) {
|
||||
if (nTxOpretSize > 0 && nTxFees < opretMinFee) {
|
||||
fSpamTx = true;
|
||||
std::cerr << __func__ << ": " << tx.GetHash().ToString() << " nTxSize=" << nTxSize << " nTxOpretSize=" << nTxOpretSize << " feeRate=" << feeRate.ToString() << " opretMinFee=" << opretMinFee << " nTxFees=" << nTxFees <<" fSpamTx=" << fSpamTx << std::endl;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user