contractcourt+brontide: fix typo and inaccurate logging
This commit is contained in:
2 files changed
+4
-5
No files matched your search
@@ -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
|
// If we have no SignDetails, and we haven't already sent the output to
|
||||||
// the utxo nursery, then we'll do so now.
|
// the utxo nursery, then we'll do so now.
|
||||||
case h.htlcResolution.SignDetails == nil && !h.outputIncubating:
|
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)
|
h.htlcResolution.ClaimOutpoint)
|
||||||
|
|
||||||
err := h.IncubateOutputs(
|
err := h.IncubateOutputs(
|
||||||
@@ -374,7 +374,7 @@ func (h *htlcTimeoutResolver) spendHtlcOutput() (*chainntnfs.SpendDetail, error)
|
|||||||
return nil, err
|
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,
|
"fully confirmed", h, h.htlcResolution.ClaimOutpoint,
|
||||||
outpointToWatch)
|
outpointToWatch)
|
||||||
|
|
||||||
|
|||||||
+2
-3
@@ -3075,9 +3075,8 @@ func WaitForChanToClose(bestHeight uint32, notifier chainntnfs.ChainNotifier,
|
|||||||
errChan chan error, chanPoint *wire.OutPoint,
|
errChan chan error, chanPoint *wire.OutPoint,
|
||||||
closingTxID *chainhash.Hash, closeScript []byte, cb func()) {
|
closingTxID *chainhash.Hash, closeScript []byte, cb func()) {
|
||||||
|
|
||||||
peerLog.Infof("Waiting for confirmation of cooperative close of "+
|
peerLog.Infof("Waiting for confirmation of close of ChannelPoint(%v) "+
|
||||||
"ChannelPoint(%v) with txid: %v", chanPoint,
|
"with txid: %v", chanPoint, closingTxID)
|
||||||
closingTxID)
|
|
||||||
|
|
||||||
// TODO(roasbeef): add param for num needed confs
|
// TODO(roasbeef): add param for num needed confs
|
||||||
confNtfn, err := notifier.RegisterConfirmationsNtfn(
|
confNtfn, err := notifier.RegisterConfirmationsNtfn(
|
||||||
|
|||||||
Reference in new issue
Block a user