fanquake e0287bc4b2
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.
```
2024-10-07 16:31:12 +01:00
..
2024-10-02 18:23:18 -04:00
2024-08-29 13:49:57 +02:00
2024-08-29 13:49:57 +02:00
2024-08-06 01:38:10 +02:00
2024-09-17 09:54:18 +02:00
2024-08-06 01:38:10 +02:00
2024-08-04 08:51:36 +02:00
2024-05-20 16:48:19 +00:00
2024-07-08 11:12:01 +02:00
2024-09-10 11:20:40 -03:00
2024-08-29 13:49:57 +02:00
2024-07-08 11:12:01 +02:00
2024-08-29 13:49:57 +02:00
2024-09-19 07:33:02 -04:00
2024-09-19 07:57:45 -04:00
2024-07-08 11:12:01 +02:00
2024-08-29 13:49:57 +02:00
2024-09-06 17:36:18 +02:00
2024-09-17 09:27:45 +02:00