Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync hooks drain peer list #5802

Open
SWvheerden opened this issue Sep 26, 2023 · 0 comments
Open

Sync hooks drain peer list #5802

SWvheerden opened this issue Sep 26, 2023 · 0 comments

Comments

@SWvheerden
Copy link
Collaborator

Sync update: self.hooks.call_on_starting_hook drains the peer list, so it will only work for the first peer.

https://github.com/tari-project/tari/blob/6c8e2d395799757e5a946fe01226f739d0706741/base_layer/core/src/base_node/sync/hooks.rs#L49C11-L49C11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant