Skip to content

Commit 4bc6cdf

Browse files
authored
Merge pull request #4176 from ProvableHQ/prevent_block_response_race_disconnect
Prevent old block responses from causing a gateway disconnect
2 parents 3c38174 + 79d4b54 commit 4bc6cdf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ workflows:
788788
filters:
789789
branches:
790790
only:
791-
- feat/vk-migration
791+
- prevent_block_response_race_disconnect
792792
- canary
793793
- testnet
794794
- mainnet
@@ -798,7 +798,7 @@ workflows:
798798
filters:
799799
branches:
800800
only:
801-
- feat/vk-migration
801+
- prevent_block_response_race_disconnect
802802
- canary
803803
- testnet
804804
- mainnet

node/bft/src/gateway.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ impl<N: Network> Gateway<N> {
677677
}
678678
Err(err) => {
679679
warn!("Unable to process block response from '{peer_ip}' - {err}");
680-
Err(err.into())
680+
Ok(true)
681681
}
682682
}
683683
} else {

0 commit comments

Comments
 (0)