X-Git-Url: https://git.novaco.in/?p=electrum-nvc.git;a=blobdiff_plain;f=lib%2Faccount.py;fp=lib%2Faccount.py;h=7e51cb8215d52a5b3ca14e9aac676c12e44eb94b;hp=9a9d86ed3209da09badba6a3aa99b8e7d4e12a28;hb=3cbe11a42473af52e7c5e002c36aaaf32646f627;hpb=068609b4a65a172a15a24299b8a0fad0ef82898c diff --git a/lib/account.py b/lib/account.py index 9a9d86e..7e51cb8 100644 --- a/lib/account.py +++ b/lib/account.py @@ -355,7 +355,7 @@ class BIP32_Account_2of2(BIP32_Account): def pubkeys_to_address(self, pubkeys): redeem_script = Transaction.multisig_script(sorted(pubkeys), 2) - address = hash_160_to_bc_address(hash_160(redeem_script.decode('hex')), 5) + address = hash_160_to_bc_address(hash_160(redeem_script.decode('hex')), 20) return address def get_address(self, for_change, n):