From c783d6ad3aa42c1811c7bfcd08e7ddf64a808a71 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 14 Nov 2011 20:50:42 +0100 Subject: [PATCH] fee --- client/electrum.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/electrum.py b/client/electrum.py index c3e6375a0..f66c85111 100755 --- a/client/electrum.py +++ b/client/electrum.py @@ -705,6 +705,7 @@ if __name__ == '__main__': to_address = args[1] amount = float(args[2]) label = ' '.join(args[3:]) + if options.tx_fee: options.tx_fee = float(options.tx_fee) except: print "syntax: sendto [label]" sys.exit(1) @@ -787,7 +788,7 @@ if __name__ == '__main__': to_address = k break print "alias", to_address - r, h = wallet.send( to_address, amount, label, password, cmd=='sendto', fee=options.tx_fee ) + r, h = wallet.send( to_address, amount, label, password, cmd=='sendto', fee = options.tx_fee ) print h elif cmd == 'newaddress':