Browse Source

chainparams: fix regtest bip173_name

regtest bech32 hrp is bcrt, not tb

Signed-off-by: William Casarin <jb55@jb55.com>
ppa-0.6.1
William Casarin 7 years ago
committed by Rusty Russell
parent
commit
b30fb952e6
  1. 2
      bitcoin/chainparams.c

2
bitcoin/chainparams.c

@ -15,7 +15,7 @@ const struct chainparams networks[] = {
.testnet = false},
{.index = 1,
.network_name = "regtest",
.bip173_name = "tb",
.bip173_name = "bcrt",
.genesis_blockhash = {{{.u.u8 = {0x06, 0x22, 0x6e, 0x46, 0x11, 0x1a, 0x0b, 0x59, 0xca, 0xaf, 0x12, 0x60, 0x43, 0xeb, 0x5b, 0xbf, 0x28, 0xc3, 0x4f, 0x3a, 0x5e, 0x33, 0x2a, 0x1f, 0xc7, 0xb2, 0xb7, 0x3c, 0xf1, 0x88, 0x91, 0x0f}}}},
.rpc_port = 18332,
.cli = "bitcoin-cli",

Loading…
Cancel
Save