tsubscribe to imported address - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 75f7050edcf26fe9773eb7e22a7ee96af8bf23a0
DIR parent 58ab37d056c5f6d5561586d308d7fd934d8d29b7
HTML Author: thomasv <thomasv@gitorious>
Date: Sun, 15 Sep 2013 15:06:42 +0200
subscribe to imported address
Diffstat:
M lib/wallet.py | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -242,6 +242,8 @@ class Wallet:
# store the originally requested keypair into the imported keys table
self.imported_keys[address] = pw_encode(sec, password )
self.storage.put('imported_keys', self.imported_keys, True)
+ if self.synchronizer:
+ self.synchronizer.subscribe_to_addresses([address])
return address
def delete_imported_key(self, addr):