contractcourt+brontide: fix typo and inaccurate logging

This commit is contained in:
yyforyongyu committed 2022-10-27 01:11:35 +08:00
1 parent 42eab93ba0
commit 2285bfdf9f
2 files changed
+4 -5

No files matched your search

+2 -3
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(