03bdb4f1b7
tests based on - https://github.com/brianddk/reddit/blob/8ca383c9e00cb5a4c1201d1bab534d5886d3cb8f/python/elec-p2sh-hodl.py - https://github.com/brianddk/reddit/blob/8ca383c9e00cb5a4c1201d1bab534d5886d3cb8f/python/elec-p2wsh-hodl.py note: I could not reproduce the signature for the p2wsh cltv spend linked above, so I have created a new testnet output and spent that for that test (to make sure our behaviour is consensus-valid).