commit 4a4624cb8559545a2f363fd3543bdc300d6fa851
parent 1ab37fc82b8e901a7527bc20b1068c9cfbaa1ad0
Author: ThomasV <thomasv@gitorious>
Date: Sat, 14 Mar 2015 16:22:47 +0100
type conversion; fixes #1077
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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):