diff --git a/lib/wallet.py b/lib/wallet.py index 572bdb21f..0f4b95f02 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -719,7 +719,7 @@ class Abstract_Wallet(object): coins = self.get_unspent_coins(domain) amount = sum( map(lambda x:x[2], outputs) ) - total = 0 + total = fee = 0 inputs = [] tx = Transaction(inputs, outputs) for item in coins: