Fix chainparam in forceclose

pull/3/head
Oliver Gugger 4 years ago
parent 4f099e6e51
commit 8292ef82fd
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

@ -73,7 +73,10 @@ func forceCloseChannels(extendedKey *hdkeychain.ExtendedKey,
return err
}
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
// publish their local commitment TX.

Loading…
Cancel
Save