commit 302e4447178b396d2a4405d646947a1073d973a7
parent be1a21d97485e8945774c15c5e71bef8696b7b49
Author: ThomasV <thomasv@gitorious>
Date: Wed, 10 Sep 2014 10:58:53 +0200
fix balance of PendingAccount (address was counted twice)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/account.py b/lib/account.py
@@ -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