Skip to content

Commit 1b87bb5

Browse files
Merge pull request #396 from pxwanglu/master
chore: make function comment match function name[skip ci]
2 parents 654e43c + 29a2054 commit 1b87bb5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lnd/peerlistener_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ func TestPeerListener(t *testing.T) {
6969
assert.NoError(t, err)
7070
}
7171

72-
// TestPeerListener tests that the PeerListener reconnects to the lnd node if
73-
// the lnd node was killed and is online again.
72+
// TestPeerListener_Reconnect tests that the PeerListener reconnects to the
73+
// lnd node if the lnd node was killed and is online again.
7474
func TestPeerListener_Reconnect(t *testing.T) {
7575
test.IsIntegrationTest(t)
7676
t.Parallel()

swap/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ func (s *SwapService) OnTxOpenedMessage(message *OpeningTxBroadcastedMessage) er
816816
return nil
817817
}
818818

819-
// OnTxOpenedMessage sends the TxConfirmed event to the corresponding swap state machine
819+
// SenderOnTxConfirmed sends the TxConfirmed event to the corresponding swap state machine
820820
func (s *SwapService) SenderOnTxConfirmed(swapId string) error {
821821
swap, err := s.GetActiveSwap(swapId)
822822
if err != nil {

0 commit comments

Comments
 (0)