Update 15_2_Programming_Bitcoind_with_C.md

This commit is contained in:
Shannon Appelcline 2020-08-05 08:18:43 -10:00 committed by GitHub
parent c2539dde66
commit e24faba321
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,14 +326,12 @@ The entire code, with a _little_ more error-checking appears in the Appendix.
The complete code can be found in the [src directory](src/15_2_sendtoaddress.c).
```
Compile this as usual:
```
$ cc sendtoaddress.c -lbitcoinrpc -ljansson -o sendtoaddress
```
You can then use it to send funds to an address:
[[IT NO LONGER WORKS!]]
```
$ ./sendtoaddress mwCwTceJvYV27KXBc3NJZys6CjsgsoeHmf .10
Txid: 23f3faea4e1e933e981fe7ed66008f33c00983a865f6ccce9af0005e9670e916