Previously we wouldn’t care about the `txnouttype`, but after 4e91820531889e309dc4335fe0de8229c6426040 we `switch` on the type.
You can view, comment on, or merge this pull request online at:
— Commit Summary —
* wallet: Prevent segfault when sending to unspendable witness
— File Changes —
M src/script/standard.cpp (1)
M src/test/script_standard_tests.cpp (26)
— Patch Links —