mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
sendtx -> sendrawtransaction
This commit is contained in:
parent
8682608813
commit
f0eb5e1316
1 changed files with 4 additions and 4 deletions
8
electrum
8
electrum
|
@ -50,8 +50,8 @@ Syntax: payto <recipient> <amount> [label]
|
||||||
<recipient> can be a bitcoin address or a label
|
<recipient> can be a bitcoin address or a label
|
||||||
options:\n --fee, -f: set transaction fee\n --fromaddr, -s: send from address -\n --changeaddr, -c: send change to address
|
options:\n --fee, -f: set transaction fee\n --fromaddr, -s: send from address -\n --changeaddr, -c: send change to address
|
||||||
""",
|
""",
|
||||||
'sendtx':
|
'sendrawtransaction':
|
||||||
'Broadcasts a transaction to the network. \nSyntax: sendtx <tx>\n<tx> must be in hexadecimal.',
|
'Broadcasts a transaction to the network. \nSyntax: sendrawtransaction <tx in hexadecimal>',
|
||||||
'password':
|
'password':
|
||||||
"Changes your password",
|
"Changes your password",
|
||||||
'addresses':
|
'addresses':
|
||||||
|
@ -613,8 +613,8 @@ if __name__ == '__main__':
|
||||||
del(wallet.history[from_addr])
|
del(wallet.history[from_addr])
|
||||||
wallet.save()
|
wallet.save()
|
||||||
|
|
||||||
elif cmd == 'sendtx':
|
elif cmd == 'sendrawtransaction':
|
||||||
tx = args[1]
|
tx = Transaction(args[1])
|
||||||
r, h = wallet.sendtx( tx )
|
r, h = wallet.sendtx( tx )
|
||||||
print_msg(h)
|
print_msg(h)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue