lightningd: remove chainparams local parameter from wallet.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-11-20 12:25:57 +10:30
committed by Christian Decker
parent ce1049115a
commit edbcb6fa15
4 changed files with 4 additions and 7 deletions

View File

@@ -746,7 +746,7 @@ int main(int argc, char *argv[])
/*~ Our default names, eg. for the database file, are not dependent on
* the network. Instead, the db knows what chain it belongs to, and we
* simple barf here if it's wrong. */
if (!wallet_network_check(ld->wallet, chainparams))
if (!wallet_network_check(ld->wallet))
errx(1, "Wallet network check failed.");
/*~ Initialize the transaction filter with our pubkeys. */