diff --git a/src/policy/policy.h b/src/policy/policy.h index 1a02f3f7ab5..c9cb551b906 100644 --- a/src/policy/policy.h +++ b/src/policy/policy.h @@ -146,6 +146,7 @@ std::vector GetDust(const CTransaction& tx, CFeeRate dust_relay_rate); // allowing the new transaction version in the wallet/RPC. static constexpr decltype(CTransaction::version) TX_MIN_STANDARD_VERSION{1}; static constexpr decltype(CTransaction::version) TX_MAX_STANDARD_VERSION{3}; +static constexpr decltype(CTransaction::version) DEFAULT_RAWTX_VERSION{CTransaction::CURRENT_VERSION}; /** * Check for standard transaction types