diff options
author | fanquake <fanquake@gmail.com> | 2024-10-07 16:24:53 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-10-07 16:31:12 +0100 |
commit | e0287bc4b2d83cefb7af48aef457153d0729bcd4 (patch) | |
tree | c9d9531dee85f9c0b5218fdc90a67e8e352f5ec2 /vcpkg.json | |
parent | 62e4516722115c2d5aeb6c197abc73ca7c078b23 (diff) |
test: remove unused code from script_tests
This has been unused since #29648.
Noticed while running a newer version of clang-tidy (19.1.1):
```bash
[127/391][6.2s] /opt/homebrew/opt/llvm/bin/clang-tidy -p=build -quiet --config-file=/bitcoin/src/.clang-tidy /bitcoin/src/test/script_tests.cpp
bitcoin/src/test/script_tests.cpp:126:25: error: local copy 'tx2' of the variable 'tx' is never modified and never used; consider removing the statement [performance-unnecessary-copy-initialization,-warnings-as-errors]
126 | CMutableTransaction tx2 = tx;
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
127 | BOOST_CHECK_MESSAGE(VerifyScript(scriptSig, scriptPubKey, &scriptWitness, flags, MutableTransactionSignatureChecker(&tx, 0, txCredit.vout[0].nValue, MissingDataBehavior::ASSERT_FAIL), &err) == expect, message);
512 warnings generated.
```
Diffstat (limited to 'vcpkg.json')
0 files changed, 0 insertions, 0 deletions