lnwallet: add field CommitTxBlockHeight to ResolutionReq
Introduce `CommitTxBlockHeight` field to the `ResolutionReq` structure and related methods. This field records the block height where a commitment transaction has confirmed.
This commit is contained in:
3 files changed
+177
-150
No files matched your search
@@ -1061,7 +1061,8 @@ func (c *chainWatcher) dispatchLocalForceClose(
|
||||
"detected", c.cfg.chanState.FundingOutpoint)
|
||||
|
||||
forceClose, err := lnwallet.NewLocalForceCloseSummary(
|
||||
c.cfg.chanState, c.cfg.signer, commitSpend.SpendingTx, stateNum,
|
||||
c.cfg.chanState, c.cfg.signer, commitSpend.SpendingTx,
|
||||
uint32(commitSpend.SpendingHeight), stateNum,
|
||||
c.cfg.auxLeafStore, c.cfg.auxResolver,
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user