File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -904,7 +904,7 @@ fn test_nakamoto_inv_sync_state_machine() {
904
904
let event_ids = peer. network . iter_peer_event_ids ( ) ;
905
905
let other_event_ids = other_peer. network . iter_peer_event_ids ( ) ;
906
906
907
- if !event_ids. count ( ) == 0 && !other_event_ids. count ( ) == 0 {
907
+ if !( event_ids. count ( ) == 0 ) && !( other_event_ids. count ( ) == 0 ) {
908
908
break ;
909
909
}
910
910
}
@@ -1027,7 +1027,7 @@ fn test_nakamoto_inv_sync_across_epoch_change() {
1027
1027
let event_ids = peer. network . iter_peer_event_ids ( ) ;
1028
1028
let other_event_ids = other_peer. network . iter_peer_event_ids ( ) ;
1029
1029
1030
- if !event_ids. count ( ) == 0 && !other_event_ids. count ( ) == 0 {
1030
+ if !( event_ids. count ( ) == 0 ) && !( other_event_ids. count ( ) == 0 ) {
1031
1031
break ;
1032
1032
}
1033
1033
}
Original file line number Diff line number Diff line change @@ -1136,7 +1136,7 @@ fn test_mempool_sync_2_peers_nakamoto_paginated() {
1136
1136
let event_ids = peer_1. network . iter_peer_event_ids ( ) ;
1137
1137
let other_event_ids = peer_2. network . iter_peer_event_ids ( ) ;
1138
1138
1139
- if !event_ids. count ( ) == 0 && !other_event_ids. count ( ) == 0 {
1139
+ if !( event_ids. count ( ) == 0 ) && !( other_event_ids. count ( ) == 0 ) {
1140
1140
break ;
1141
1141
}
1142
1142
}
You can’t perform that action at this time.
0 commit comments