mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-10 08:34:19 +01:00
lightningd: remove chainparams local parameter from wallet.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
ce1049115a
commit
edbcb6fa15
@@ -2528,8 +2528,7 @@ void wallet_htlc_sigs_save(struct wallet *w, u64 channel_id,
|
||||
}
|
||||
}
|
||||
|
||||
bool wallet_network_check(struct wallet *w,
|
||||
const struct chainparams *chainparams)
|
||||
bool wallet_network_check(struct wallet *w)
|
||||
{
|
||||
struct bitcoin_blkid chainhash;
|
||||
struct db_stmt *stmt = db_prepare_v2(
|
||||
|
||||
@@ -1021,8 +1021,7 @@ void wallet_htlc_sigs_save(struct wallet *w, u64 channel_id,
|
||||
* genesis_hash with which the DB was initialized. Returns false if
|
||||
* the check failed, i.e., if the genesis hashes do not match.
|
||||
*/
|
||||
bool wallet_network_check(struct wallet *w,
|
||||
const struct chainparams *chainparams);
|
||||
bool wallet_network_check(struct wallet *w);
|
||||
|
||||
/**
|
||||
* wallet_block_add - Add a block to the blockchain tracked by this wallet
|
||||
|
||||
Reference in New Issue
Block a user