diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-03-16 17:47:51 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-03-16 17:47:56 +0100 |
commit | 3617d225628f629bbfa686937edf63f66f12e138 (patch) | |
tree | 7cf9e921b83d390f2d7412fb1b4582a2b21b92ca /src/qt/askpassphrasedialog.cpp | |
parent | 4bdc990daf2876cb0cdc40b21a845063676defbc (diff) | |
parent | bce9aaf31e2b0428e686e151324f8561ad71f11f (diff) |
Merge bitcoin/bitcoin#14752: tests: Unit tests for IsPayToWitnessScriptHash and IsWitnessProgram
bce9aaf31e2b0428e686e151324f8561ad71f11f Unit tests for IsWitnessProgram and IsP2WSH. (Daniel Kraft)
Pull request description:
This adds basic unit tests for `CScript::IsPayToWitnessScriptHash` and `CScript::IsWitnessProgram`, similar to the existing tests for `CScript::IsPayToScriptHash`. These tests are probably not super important given the other existing tests for segwit related code, but may be useful in catching some errors early.
This implements #14737.
ACKs for top commit:
aureleoules:
tACK bce9aaf31e2b0428e686e151324f8561ad71f11f (`make check)`.
Tree-SHA512: 3cff5efc4ac53079289c72bfba8b1937bc103baadd32bb1fba41e78017f65f9cca17678c3202ad0711eae42b351d4132d9ed9b4e2dc07d138298691a09c4e822
Diffstat (limited to 'src/qt/askpassphrasedialog.cpp')
0 files changed, 0 insertions, 0 deletions