mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 08:51:32 +00:00
wallet.py: remove placeholder code re p2sh imported wallets
This commit is contained in:
parent
4193c7ff14
commit
11ffc5ca8a
1 changed files with 1 additions and 6 deletions
|
@ -2039,12 +2039,7 @@ class Imported_Wallet(Simple_Wallet):
|
||||||
txin['x_pubkeys'] = [pubkey]
|
txin['x_pubkeys'] = [pubkey]
|
||||||
txin['signatures'] = [None]
|
txin['signatures'] = [None]
|
||||||
else:
|
else:
|
||||||
redeem_script = self.addresses[address]['redeem_script']
|
raise NotImplementedError('imported wallets for p2sh are not implemented')
|
||||||
num_sig = 2
|
|
||||||
num_keys = 3
|
|
||||||
txin['num_sig'] = num_sig
|
|
||||||
txin['redeem_script'] = redeem_script
|
|
||||||
txin['signatures'] = [None] * num_keys
|
|
||||||
|
|
||||||
def pubkeys_to_address(self, pubkey):
|
def pubkeys_to_address(self, pubkey):
|
||||||
for addr, v in self.addresses.items():
|
for addr, v in self.addresses.items():
|
||||||
|
|
Loading…
Add table
Reference in a new issue