Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
979483fd
Commit
979483fd
authored
2 years ago
by
Robert Klotzner
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix wrong logic. (#5931)
parent
83217b3e
Branches
gh-readonly-queue/master/pr-3955-9b378a2ffef1d5846872adc4336341805bffbc30
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
polkadot/node/network/collator-protocol/src/validator_side/mod.rs
+1
-1
1 addition, 1 deletion
.../node/network/collator-protocol/src/validator_side/mod.rs
with
1 addition
and
1 deletion
polkadot/node/network/collator-protocol/src/validator_side/mod.rs
+
1
−
1
View file @
979483fd
...
...
@@ -730,7 +730,7 @@ async fn handle_peer_view_change(state: &mut State, peer_id: PeerId, view: View)
peer_data
.update_view
(
view
);
state
.requested_collations
.retain
(|
pc
,
_
|
pc
.peer_id
!=
peer_id
||
!
peer_data
.has_advertised
(
&
pc
.relay_parent
));
.retain
(|
pc
,
_
|
pc
.peer_id
!=
peer_id
||
peer_data
.has_advertised
(
&
pc
.relay_parent
));
Ok
(())
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment