From e7c7dc8cc95ae09c86a9ce2ab5aa11e4e9306d23 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 11 Sep 2014 11:04:45 +0200 Subject: [PATCH] init fee variable in make_unsigned_transaction --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: