mirror of
https://github.com/guggero/chantools
synced 2024-11-11 01:10:42 +00:00
Fix chainparam in forceclose
This commit is contained in:
parent
4f099e6e51
commit
8292ef82fd
@ -73,7 +73,10 @@ func forceCloseChannels(extendedKey *hdkeychain.ExtendedKey,
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
api := &btc.ExplorerAPI{BaseURL: cfg.APIURL}
|
api := &btc.ExplorerAPI{BaseURL: cfg.APIURL}
|
||||||
signer := &btc.Signer{ExtendedKey: extendedKey}
|
signer := &btc.Signer{
|
||||||
|
ExtendedKey: extendedKey,
|
||||||
|
ChainParams: chainParams,
|
||||||
|
}
|
||||||
|
|
||||||
// Go through all channels in the DB, find the still open ones and
|
// Go through all channels in the DB, find the still open ones and
|
||||||
// publish their local commitment TX.
|
// publish their local commitment TX.
|
||||||
|
Loading…
Reference in New Issue
Block a user