From be67dbb49215679d277b4c8039f0d365de379d82 Mon Sep 17 00:00:00 2001 From: Shannon Appelcline Date: Tue, 23 Jun 2020 14:08:32 -1000 Subject: [PATCH] added named to example --- 04_6_Creating_a_Segwit_Transaction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04_6_Creating_a_Segwit_Transaction.md b/04_6_Creating_a_Segwit_Transaction.md index 7eb83d7..2aad529 100644 --- a/04_6_Creating_a_Segwit_Transaction.md +++ b/04_6_Creating_a_Segwit_Transaction.md @@ -22,7 +22,7 @@ You create a SegWit address the same way as any other address, with the `getnewa If you need to create an address for someone who can't send to the newer Bech32 addresses, then use the `p2sh-segwit` addresstype: ``` -$ bitcoin-cli getnewaddress -addresstype p2sh-segwit +$ bitcoin-cli -named getnewaddress address_type=p2sh-segwit 2N5h2r4karVqN7uFtpcn8xnA3t5cbpszgyN ``` Seeing an address with a "2" prefix means that you did it right.