From 4a4624cb8559545a2f363fd3543bdc300d6fa851 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 14 Mar 2015 16:22:47 +0100 Subject: [PATCH] type conversion; fixes #1077 --- lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands.py b/lib/commands.py index 00867714..325ff2a3 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -318,7 +318,7 @@ class Commands: amount = int(100000000*amount) final_outputs.append(('address', to_address, amount)) - if fee: fee = int(100000000*fee) + if fee is not None: fee = int(100000000*fee) return self.wallet.mktx(final_outputs, self.password, fee , change_addr, domain) def mktx(self, to_address, amount, fee = None, change_addr = None, domain = None):