diff options
author | MarcoFalke <falke.marco@gmail.com> | 2022-04-19 14:16:57 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2022-04-19 14:17:31 +0200 |
commit | 8d3743a365b987290fa74c5709439e975cfa3798 (patch) | |
tree | 4438119f7401127ccd91ed213716b58db7b51ec6 /test/lint | |
parent | b297b945f7610772434817181ad12067b2832565 (diff) | |
parent | 917a89a814f15e69174d8b26c1ef75e01555ecb3 (diff) |
Merge bitcoin/bitcoin#24896: test: use MiniWallet for p2p_segwit.py
917a89a814f15e69174d8b26c1ef75e01555ecb3 test: use MiniWallet for p2p_segwit.py (Sebastian Falbesoner)
Pull request description:
This PR enables one more of the non-wallet functional tests (p2p_segwit.py) to be run even with the Bitcoin Code wallet by using the MiniWallet instead, as proposed in https://github.com/bitcoin/bitcoin/issues/20078.
This change only affects the subtest `test_superfluous_witness`. Note that instead of creating a raw transaction first and then signing it, we go the other direction here: MiniWallet creates a transaction spending a segwit v1 output (i.e. including a witness), then we turn it into a raw transaction by dropping the witness. Therefore, the debug log asserts are swapped.
Top commit has no ACKs.
Tree-SHA512: 163a93a527f60100487f0aff49a9d7baf392ceb4417c54521157b2678685f5728dd751a9747c6cf51666aae78252dd3bc44130e659f7a1262ec1c86e30225622
Diffstat (limited to 'test/lint')
0 files changed, 0 insertions, 0 deletions