diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-06-13 17:11:09 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-06-14 08:02:45 +0200 |
commit | fa621ededdfe31a200b77a8787de7e3d2e667aec (patch) | |
tree | a2ed1f8f92630acb201c1fc3d57e2eab550a8ad2 /src/test/transaction_tests.cpp | |
parent | 9c1ec689f353d3d7c34695a074f82bb2ea449538 (diff) |
refactor: Pass script verify flags as uint32_t
They are cast to unsigned anyway when calling VerifyScript,
bitcoinconsensus_verify_script*, or CountWitnessSigOps.
Diffstat (limited to 'src/test/transaction_tests.cpp')
-rw-r--r-- | src/test/transaction_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp index 40c53cb2ec..571f792a53 100644 --- a/src/test/transaction_tests.cpp +++ b/src/test/transaction_tests.cpp @@ -446,7 +446,7 @@ static void CreateCreditAndSpend(const FillableSigningProvider& keystore, const assert(input.vin[0].scriptWitness.stack == inputm.vin[0].scriptWitness.stack); } -static void CheckWithFlag(const CTransactionRef& output, const CMutableTransaction& input, int flags, bool success) +static void CheckWithFlag(const CTransactionRef& output, const CMutableTransaction& input, uint32_t flags, bool success) { ScriptError error; CTransaction inputi(input); |