We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebc85bf commit aa18a92Copy full SHA for aa18a92
bitcoin/wallet.py
@@ -308,7 +308,7 @@ def to_scriptPubKey(self):
308
return script.CScript([0, self])
309
310
def to_redeemScript(self):
311
- return NotImplementedError("not enough data in p2wsh address to reconstruct redeem script")
+ raise NotImplementedError("Not enough data in p2wsh address to reconstruct redeem script")
312
313
314
class P2WPKHBitcoinAddress(CBech32BitcoinAddress):
0 commit comments