diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-21 13:12:58 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-08-02 15:26:24 +0200 |
commit | fa8a7f01fe1b6db98097021276ed5d929faadbec (patch) | |
tree | 293ce04a2407a964abb28bdafb2bc1db3ce23381 /src/policy | |
parent | fa7a9114e59b81b50584311a4ab2b3e9a8d956bd (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/policy')
-rw-r--r-- | src/policy/settings.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/policy/settings.h b/src/policy/settings.h index eb26a825a8..0f82969f7e 100644 --- a/src/policy/settings.h +++ b/src/policy/settings.h @@ -10,7 +10,6 @@ #include <policy/policy.h> #include <cstdint> -#include <string> class CTransaction; @@ -18,11 +17,6 @@ extern CFeeRate dustRelayFee; extern unsigned int nBytesPerSigOp; extern bool fIsBareMultisigStd; -static inline bool IsStandardTx(const CTransaction& tx, std::string& reason) -{ - return IsStandardTx(tx, ::fIsBareMultisigStd, ::dustRelayFee, reason); -} - static inline int64_t GetVirtualTransactionSize(int64_t weight, int64_t sigop_cost) { return GetVirtualTransactionSize(weight, sigop_cost, ::nBytesPerSigOp); |