From cad3798f84476366b548670b530293fde918a037 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 30 Jun 2017 18:52:02 +0200 Subject: [PATCH] follow-up previous commit --- lib/wallet.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/wallet.py b/lib/wallet.py index 30928eff..676ead6a 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -1733,10 +1733,9 @@ class Multisig_Wallet(Deterministic_Wallet, P2SH): # x_pubkeys are not sorted here because it would be too slow # they are sorted in transaction.get_sorted_pubkeys # pubkeys is set to None to signal that x_pubkeys are unsorted - if txin.get('x_pubkeys') is None: - derivation = self.get_address_index(address) - txin['x_pubkeys'] = [k.get_xpubkey(*derivation) for k in self.get_keystores()] - txin['pubkeys'] = None + derivation = self.get_address_index(address) + txin['x_pubkeys'] = [k.get_xpubkey(*derivation) for k in self.get_keystores()] + txin['pubkeys'] = None # we need n place holders txin['signatures'] = [None] * self.n txin['num_sig'] = self.m