commit 11ffc5ca8a4bc5b34fb995991718a0ef01f750e8 parent 4193c7ff14a151350489e089d796759b1f10c5cd Author: SomberNight <somber.night@protonmail.com> Date: Wed, 13 Jun 2018 19:23:09 +0200 wallet.py: remove placeholder code re p2sh imported wallets Diffstat:
M | lib/wallet.py | | | 7 | +------ |
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py @@ -2039,12 +2039,7 @@ class Imported_Wallet(Simple_Wallet): txin['x_pubkeys'] = [pubkey] txin['signatures'] = [None] else: - redeem_script = self.addresses[address]['redeem_script'] - num_sig = 2 - num_keys = 3 - txin['num_sig'] = num_sig - txin['redeem_script'] = redeem_script - txin['signatures'] = [None] * num_keys + raise NotImplementedError('imported wallets for p2sh are not implemented') def pubkeys_to_address(self, pubkey): for addr, v in self.addresses.items():