tfix balance of PendingAccount (address was counted twice) - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 302e4447178b396d2a4405d646947a1073d973a7
DIR parent be1a21d97485e8945774c15c5e71bef8696b7b49
HTML Author: ThomasV <thomasv@gitorious>
Date: Wed, 10 Sep 2014 10:58:53 +0200
fix balance of PendingAccount (address was counted twice)
Diffstat:
M lib/account.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/account.py b/lib/account.py
t@@ -102,7 +102,7 @@ class PendingAccount(Account):
return
def get_addresses(self, is_change):
- return [self.pending_address]
+ return [] if is_change else [self.pending_address]
def has_change(self):
return False