From 4dac2da8fcd2717ef1f1b860be2b61726a8472e0 Mon Sep 17 00:00:00 2001 From: Luca Vaccaro Date: Wed, 14 Feb 2018 11:07:39 +0100 Subject: [PATCH] Fix litecoin mainnet & testnet chainparams --- bitcoin/chainparams.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bitcoin/chainparams.c b/bitcoin/chainparams.c index 35193cfe4..5ce516821 100644 --- a/bitcoin/chainparams.c +++ b/bitcoin/chainparams.c @@ -35,16 +35,16 @@ const struct chainparams networks[] = { .network_name = "litecoin", .bip173_name = "ltc", .genesis_blockhash = {{{.u.u8 = {0xe2, 0xbf, 0x04, 0x7e, 0x7e, 0x5a, 0x19, 0x1a, 0xa4, 0xef, 0x34, 0xd3, 0x14, 0x97, 0x9d, 0xc9, 0x98, 0x6e, 0x0f, 0x19, 0x25, 0x1e, 0xda, 0xba, 0x59, 0x40, 0xfd, 0x1f, 0xe3, 0x65, 0xa7, 0x12 }}}}, - .rpc_port = 18332, + .rpc_port = 9332, .cli = "litecoin-cli", - .cli_args = "", + .cli_args = NULL, .dust_limit = 100000, .testnet = false}, {.index = 4, .network_name = "litecoin-testnet", - .bip173_name = "ltt", + .bip173_name = "ltct", .genesis_blockhash = {{{.u.u8 = { 0xa0, 0x29, 0x3e, 0x4e, 0xeb, 0x3d, 0xa6, 0xe6, 0xf5, 0x6f, 0x81, 0xed, 0x59, 0x5f, 0x57, 0x88, 0x0d, 0x1a, 0x21, 0x56, 0x9e, 0x13, 0xee, 0xfd, 0xd9, 0x51, 0x28, 0x4b, 0x5a, 0x62, 0x66, 0x49 }}}}, - .rpc_port = 19335, + .rpc_port = 19332, .cli = "litecoin-cli", .cli_args = "-testnet", .dust_limit = 100000,