mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 14:11:04 +02:00
contractcourt+brontide: fix typo and inaccurate logging
This commit is contained in:
@@ -346,7 +346,7 @@ func (h *htlcTimeoutResolver) spendHtlcOutput() (*chainntnfs.SpendDetail, error)
|
||||
// If we have no SignDetails, and we haven't already sent the output to
|
||||
// the utxo nursery, then we'll do so now.
|
||||
case h.htlcResolution.SignDetails == nil && !h.outputIncubating:
|
||||
log.Tracef("%T(%v): incubating htlc output", h,
|
||||
log.Debugf("%T(%v): incubating htlc output", h,
|
||||
h.htlcResolution.ClaimOutpoint)
|
||||
|
||||
err := h.IncubateOutputs(
|
||||
@@ -374,7 +374,7 @@ func (h *htlcTimeoutResolver) spendHtlcOutput() (*chainntnfs.SpendDetail, error)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
log.Infof("%T(%v): waiting for HTLC output %v to be spent"+
|
||||
log.Infof("%T(%v): waiting for spent of HTLC output %v to be "+
|
||||
"fully confirmed", h, h.htlcResolution.ClaimOutpoint,
|
||||
outpointToWatch)
|
||||
|
||||
|
@@ -3075,9 +3075,8 @@ func WaitForChanToClose(bestHeight uint32, notifier chainntnfs.ChainNotifier,
|
||||
errChan chan error, chanPoint *wire.OutPoint,
|
||||
closingTxID *chainhash.Hash, closeScript []byte, cb func()) {
|
||||
|
||||
peerLog.Infof("Waiting for confirmation of cooperative close of "+
|
||||
"ChannelPoint(%v) with txid: %v", chanPoint,
|
||||
closingTxID)
|
||||
peerLog.Infof("Waiting for confirmation of close of ChannelPoint(%v) "+
|
||||
"with txid: %v", chanPoint, closingTxID)
|
||||
|
||||
// TODO(roasbeef): add param for num needed confs
|
||||
confNtfn, err := notifier.RegisterConfirmationsNtfn(
|
||||
|
Reference in New Issue
Block a user