mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-07 16:06:26 +00:00
Updated signrawtransaction
This commit is contained in:
parent
b28ed50148
commit
a962b2a72e
@ -126,7 +126,7 @@ Note the `ismine` results.
|
||||
|
||||
At this point you can sign and send the transaction as usual.
|
||||
```
|
||||
$ signedtx3=$(bitcoin-cli -named signrawtransaction hexstring=$rawtxhex3 | jq -r '.hex')
|
||||
$ signedtx3=$(bitcoin-cli -named signrawtransactionwithwallet hexstring=$rawtxhex3 | jq -r '.hex')
|
||||
$ bitcoin-cli -named sendrawtransaction hexstring=$signedtx3
|
||||
```
|
||||
In several minutes, you'll have your change back:
|
||||
|
Loading…
x
Reference in New Issue
Block a user