You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 9, 2026. It is now read-only.
//If it's been more than 24 hours then we need to update RGS
297
-
var timestamp =if (networkGraph!!._last_rapid_gossip_sync_timestampisOption_u32Z.Some) (networkGraph!!._last_rapid_gossip_sync_timestampasOption_u32Z.Some).some.toLong() else0// (networkGraph!!._last_rapid_gossip_sync_timestamp as Option_u32Z.Some).some
297
+
val timestamp =if (networkGraph!!._last_rapid_gossip_sync_timestampisOption_u32Z.Some) (networkGraph!!._last_rapid_gossip_sync_timestampasOption_u32Z.Some).some.toLong() else0// (networkGraph!!._last_rapid_gossip_sync_timestamp as Option_u32Z.Some).some
298
298
val hoursDiffSinceLastRGS = (System.currentTimeMillis() /1000- timestamp) /60/60
299
299
if (hoursDiffSinceLastRGS <24) {
300
300
LdkEventEmitter.send(EventTypes.native_log, "Skipping rapid gossip sync. Last updated $hoursDiffSinceLastRGS hours ago.")
@@ -354,23 +354,8 @@ class LdkModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaMod
0 commit comments