mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-17 08:21:06 +02:00
This corrects the fuzz test in TestLightningWireProtocol for MsgCommitSig to avoid creating an empty slice since the decoded message only creates a slice when there are greater than zero signatures and an empty slice is not considered equal to a nil slice under reflection. This can be tested by running the TestLightningWireProtocol 1000 times in a loop with and without this change.
lnwire
The lnwire package implements the Lightning Network wire protocol.
This package has intentionally been designed so it can be used as a standalone package for any projects needing to interface with lightning peers at the wire protocol level.
Installation and Updating
$ go get -u github.com/lightningnetwork/lnd/lnwire