lnd/discovery
yyforyongyu 152a438fbe
discovery: move shouldBroadcast inside goroutine
This commit moves the `shouldBroadcast` logic closer to the execution
logic of deciding whether we want to broadcast the announcements. This
is a pure code refactor and should make no difference in announcing
message unless the `d.syncMgr.IsGraphSynced()` gives different results
inside the goroutine.
2022-12-08 17:57:01 +08:00
..
2022-08-23 22:10:24 +08:00
2022-08-23 22:10:24 +08:00
2022-08-23 22:10:24 +08:00
2022-02-10 11:02:02 +01:00