contractcourt+brontide: fix typo and inaccurate logging

This commit is contained in:
yyforyongyu
2022-10-13 07:00:14 +08:00
parent 42eab93ba0
commit 2285bfdf9f
2 changed files with 4 additions and 5 deletions

View File

@@ -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(