tari
tari copied to clipboard
Sync hooks drain peer list
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