fix: mktx amounts
authorthomasv <thomasv@gitorious>
Sun, 3 Mar 2013 09:23:52 +0000 (10:23 +0100)
committerthomasv <thomasv@gitorious>
Sun, 3 Mar 2013 09:23:52 +0000 (10:23 +0100)
lib/commands.py

index 3581d81..7ae7de8 100644 (file)
@@ -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)