Skip to content

Commit 8292ef8

Browse files
committed
Fix chainparam in forceclose
1 parent 4f099e6 commit 8292ef8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cmd/chantools/forceclose.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ func forceCloseChannels(extendedKey *hdkeychain.ExtendedKey,
7373
return err
7474
}
7575
api := &btc.ExplorerAPI{BaseURL: cfg.APIURL}
76-
signer := &btc.Signer{ExtendedKey: extendedKey}
76+
signer := &btc.Signer{
77+
ExtendedKey: extendedKey,
78+
ChainParams: chainParams,
79+
}
7780

7881
// Go through all channels in the DB, find the still open ones and
7982
// publish their local commitment TX.

0 commit comments

Comments
 (0)