aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-07-21 13:12:58 +0200
committerMacroFake <falke.marco@gmail.com>2022-08-02 15:26:24 +0200
commitfa8a7f01fe1b6db98097021276ed5d929faadbec (patch)
tree293ce04a2407a964abb28bdafb2bc1db3ce23381 /src/validation.cpp
parentfa7a9114e59b81b50584311a4ab2b3e9a8d956bd (diff)
Remove ::IsStandardTx(tx, reason) alias
Apart from tests, it is only used in one place, so there is no need for an alias.
Diffstat (limited to 'src/validation.cpp')
-rw-r--r--src/validation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp
index cd14dec7c9..0840e3fc42 100644
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -700,7 +700,7 @@ bool MemPoolAccept::PreChecks(ATMPArgs& args, Workspace& ws)
// Rather not work on nonstandard transactions (unless -testnet/-regtest)
std::string reason;
- if (m_pool.m_require_standard && !IsStandardTx(tx, reason)) {
+ if (m_pool.m_require_standard && !IsStandardTx(tx, ::fIsBareMultisigStd, ::dustRelayFee, reason)) {
return state.Invalid(TxValidationResult::TX_NOT_STANDARD, reason);
}