We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca050d1 commit 08e969bCopy full SHA for 08e969b
src/rpc/mining.cpp
@@ -496,7 +496,7 @@ static RPCHelpMan prioritisetransaction()
496
497
// Non-0 fee dust transactions are not allowed for entry, and modification not allowed afterwards
498
const auto& tx = mempool.get(hash);
499
- if (tx && !GetDust(*tx, mempool.m_opts.dust_relay_feerate).empty()) {
+ if (mempool.m_opts.require_standard && tx && !GetDust(*tx, mempool.m_opts.dust_relay_feerate).empty()) {
500
throw JSONRPCError(RPC_INVALID_PARAMETER, "Priority is not supported for transactions with dust outputs.");
501
}
502
0 commit comments