commit 622b9d13ee609c22c0ea608e7fc6abd2b1c9708d
parent ee067a47ddc1a5676da9ba456ac9c32841be13f0
Author: ThomasV <thomasv@gitorious>
Date: Fri, 23 Jan 2015 17:06:16 +0100
fix: start listener after testing if available
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/cosigner_pool.py b/plugins/cosigner_pool.py
@@ -105,12 +105,12 @@ class Plugin(BasePlugin):
@hook
def load_wallet(self, wallet):
- if self.listener is None:
- self.listener = Listener(self)
- self.listener.start()
self.wallet = wallet
if not self.is_available():
return
+ if self.listener is None:
+ self.listener = Listener(self)
+ self.listener.start()
mpk = self.wallet.get_master_public_keys()
self.cosigner_list = []
for key, xpub in mpk.items():