Skip to content

Commit

Permalink
Merge pull request #2245 from TheBlueMatt/2023-04-ping-count-overflow
Browse files Browse the repository at this point in the history
Fix overflow in `awaiting_pong_timer...` with too many peers
  • Loading branch information
wpaulino authored Apr 28, 2023
2 parents 3a643df + fa33f98 commit 0e8da58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/ln/peer_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ struct Peer {
sync_status: InitSyncTracker,

msgs_sent_since_pong: usize,
awaiting_pong_timer_tick_intervals: i8,
awaiting_pong_timer_tick_intervals: i64,
received_message_since_timer_tick: bool,
sent_gossip_timestamp_filter: bool,

Expand Down

0 comments on commit 0e8da58

Please sign in to comment.