lnwallet: update NewAnchorResolution to support taproot anchors

This commit is contained in:
Olaoluwa Osuntokun committed 2023-08-22 16:32:59 -07:00
1 parent a128b74dc1
commit ee59e3f181
2 files changed
+70 -16

No files matched your search

+1 -1
View File
@@ -885,7 +885,7 @@ func (c *chainWatcher) handlePossibleBreach(commitSpend *chainntnfs.SpendDetail,
// TODO(roasbeef): make keyring for taproot chans to pass in instead of
// nil
anchorRes, err := lnwallet.NewAnchorResolution(
c.cfg.chanState, commitSpend.SpendingTx, nil,
c.cfg.chanState, commitSpend.SpendingTx, nil, false,
)
if err != nil {
return false, fmt.Errorf("unable to create anchor "+