mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-20 02:27:21 +01:00
3e01529de4
This commit fixes a bug that could cause annoucements to get lost, and resultet in flaky integration tests. After a set of announcements was broadcastet, we would reset (clear) the announcement batch, making any annoucement that was added between the call to Emit() and Reset() to be deleted, without ever being broadcast. We can just remove the Reset() call, as the batch will actually be reset within the call to Emit(), making the previous call only delete those messages we hadn't sent yet. |
||
---|---|---|
.. | ||
ann_validation.go | ||
bootstrapper.go | ||
gossiper_test.go | ||
gossiper.go | ||
log.go | ||
utils.go |