ttype conversion; fixes #1077 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 4a4624cb8559545a2f363fd3543bdc300d6fa851 DIR parent 1ab37fc82b8e901a7527bc20b1068c9cfbaa1ad0 HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 14 Mar 2015 16:22:47 +0100 ttype conversion; fixes #1077 Diffstat: M lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/commands.py b/lib/commands.py t@@ -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):