mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-03 22:34:21 +01:00
opening: Use the correct chainparams to open a channel
We were using the bitcoin genesis blockhash for all networks, which is not correct, and would result in the open being aborted when talking to other implementations. Reported-by: @sstone and @pm47 Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
fbc2b65a3d
commit
83c8c3fc52
@@ -22,8 +22,6 @@ struct bitcoin_block {
|
||||
struct bitcoin_tx **tx;
|
||||
};
|
||||
|
||||
const struct sha256_double genesis_blockhash;
|
||||
|
||||
struct bitcoin_block *bitcoin_block_from_hex(const tal_t *ctx,
|
||||
const char *hex, size_t hexlen);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user