lnwallet: update NewAnchorResolution to support taproot anchors
This commit is contained in:
2 files changed
+70
-16
No files matched your search
@@ -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 "+
|
||||
|
||||
Reference in new issue
Block a user