mirror of
				https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
				synced 2025-10-31 18:37:36 +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. | 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 | $ bitcoin-cli -named sendrawtransaction hexstring=$signedtx3 | ||||||
| ``` | ``` | ||||||
| In several minutes, you'll have your change back: | In several minutes, you'll have your change back: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user