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/test/script_p2sh_tests.cpp | |
parent | fa7a9114e59b81b50584311a4ab2b3e9a8d956bd (diff) | |
download | bitcoin-fa8a7f01fe1b6db98097021276ed5d929faadbec.tar.xz |
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/test/script_p2sh_tests.cpp')
-rw-r--r-- | src/test/script_p2sh_tests.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/script_p2sh_tests.cpp b/src/test/script_p2sh_tests.cpp index 53a7c18d4a..ece303877f 100644 --- a/src/test/script_p2sh_tests.cpp +++ b/src/test/script_p2sh_tests.cpp @@ -18,6 +18,11 @@ #include <boost/test/unit_test.hpp> // Helpers: +bool IsStandardTx(const CTransaction& tx, std::string& reason) +{ + return IsStandardTx(tx, DEFAULT_PERMIT_BAREMULTISIG, CFeeRate{DUST_RELAY_TX_FEE}, reason); +} + static std::vector<unsigned char> Serialize(const CScript& s) { |