tfix: parameters - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 89958cc68797728029941b8db18356734c73d699
DIR parent 131654c1470a094c1f73e5ddbd69fb8a0d5bc667
HTML Author: thomasv <thomasv@gitorious>
Date: Tue, 26 Feb 2013 15:13:44 +0100
fix: parameters
Diffstat:
M lib/commands.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/lib/commands.py b/lib/commands.py
t@@ -207,7 +207,7 @@ class Commands:
def mktx(self, to_address, amount, fee = None, change_addr = None, from_addr = None):
- tx = self._mktx(to_address, amount, fee = None, change_addr = None, from_addr = None)
+ tx = self._mktx(to_address, amount, fee, change_addr, from_addr)
out = {"hex":str(tx), "complete":tx.is_complete}
if not tx.is_complete:
out['input_info'] = repr(tx.input_info).replace(' ','')
t@@ -215,7 +215,7 @@ class Commands:
def payto(self, to_address, amount, fee = None, change_addr = None, from_addr = None):
- tx = self._mktx(to_address, amount, fee = None, change_addr = None, from_addr = None)
+ tx = self._mktx(to_address, amount, fee, change_addr, from_addr)
r, h = wallet.sendtx( tx )
print_msg(h)