From d8361b2a97dae0f8781944b06c71d83b9ba562eb Mon Sep 17 00:00:00 2001 From: thomasv Date: Sun, 3 Mar 2013 10:23:52 +0100 Subject: [PATCH] fix: mktx amounts --- lib/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/commands.py b/lib/commands.py index 3581d817d..7ae7de8b3 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -231,8 +231,8 @@ class Commands: if change_addr and v == change_addr: change_addr = k - amount = int(10000000*amount) - if fee: fee = int(10000000*fee) + amount = int(100000000*amount) + if fee: fee = int(100000000*fee) return self.wallet.mktx( [(to_address, amount)], self.password, fee , change_addr, from_addr)