mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-26 23:13:25 +00:00
fee
This commit is contained in:
parent
76cf1fea7a
commit
c783d6ad3a
1 changed files with 2 additions and 1 deletions
|
@ -705,6 +705,7 @@ if __name__ == '__main__':
|
||||||
to_address = args[1]
|
to_address = args[1]
|
||||||
amount = float(args[2])
|
amount = float(args[2])
|
||||||
label = ' '.join(args[3:])
|
label = ' '.join(args[3:])
|
||||||
|
if options.tx_fee: options.tx_fee = float(options.tx_fee)
|
||||||
except:
|
except:
|
||||||
print "syntax: sendto <recipient> <amount> [label]"
|
print "syntax: sendto <recipient> <amount> [label]"
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
@ -787,7 +788,7 @@ if __name__ == '__main__':
|
||||||
to_address = k
|
to_address = k
|
||||||
break
|
break
|
||||||
print "alias", to_address
|
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
|
print h
|
||||||
|
|
||||||
elif cmd == 'newaddress':
|
elif cmd == 'newaddress':
|
||||||
|
|
Loading…
Add table
Reference in a new issue