Skip to content

Commit e1ef3c8

Browse files
committed
Fix typo
1 parent c242393 commit e1ef3c8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

04_4__Interlude_Using_Curl.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ $ curl --user StandUp:8eaf562eaf45c33c3328bc66008f2dd1 --data-binary '{"jsonrpc"
228228

229229
> **WARNING:** The parameters order is important when you are sending RPC commands using curl. For example here, if we had sent `"params": ["legacy"]` instead of `"params": ["", "legacy"]`, we would get a `bech32` address with a label of `"legacy"` instead of a `legacy` address, so pay attention to the order.
230230
231-
```
232231
At this point, we can even revert to our standard practice of saving results to variables with additional help from `jq`:
233232
```
234233
$ changeaddress=$(curl --user StandUp:8eaf562eaf45c33c3328bc66008f2dd1 --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getrawchangeaddress", "params": ["", "legacy"] }' -H 'content-type: text/plain;' http://127.0.0.1:18332/ | jq -r '.result')

0 commit comments

Comments
 (0)