Reported by @cmihai and was caught by compiling with CXXFLAGS=-Og
The following check is not needed as we check the discovery timeout above.
And also the now - node.m_requested_snapshot_at causes int overflow
so that block always returns true and doesn't affect InFlightSnapshotDiscovery
Reported by @cmihai and was caught by compiling with
CXXFLAGS=-Og
The following check is not needed as we check the discovery timeout above. And also the
now - node.m_requested_snapshot_at
causes int overflow so that block always returnstrue
and doesn't affectInFlightSnapshotDiscovery
Signed-off-by: Kostiantyn Stepaniuk kostia@thirdhash.com