htlcswitch: add set of tests for the forwarding log

This commit is contained in:
Olaoluwa Osuntokun committed 2018-03-06 13:56:11 -05:00
1 parent ad522a72c1
commit 473dfd115b
4 files changed
+210 -14

No files matched your search

+1 -1
View File
@@ -754,7 +754,7 @@ func (s *Switch) handlePacketForward(packet *htlcPacket) error {
}
}
// For local HTLC's we'll dispatch the settle event back to the
// For local HTLCs we'll dispatch the settle event back to the
// caller, rather than to the peer that sent us the HTLC
// originally.
localHTLC := packet.incomingChanID == (lnwire.ShortChannelID{})