commit e7c7dc8cc95ae09c86a9ce2ab5aa11e4e9306d23
parent d8cc54fbed996ede578098e865dda4f0fd2ee02a
Author: ThomasV <thomasv@gitorious>
Date: Thu, 11 Sep 2014 11:04:45 +0200
init fee variable in make_unsigned_transaction
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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: