mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Store PeerIds in collator pool (#299)
This commit is contained in:
@@ -491,7 +491,11 @@ impl Specialization<Block> for PolkadotProtocol {
|
||||
}
|
||||
ctx.report_peer(who.clone(), benefit::NEW_COLLATOR);
|
||||
|
||||
let collator_role = self.collators.on_new_collator(acc_id.clone(), para_id.clone());
|
||||
let collator_role = self.collators.on_new_collator(
|
||||
acc_id.clone(),
|
||||
para_id.clone(),
|
||||
who.clone(),
|
||||
);
|
||||
|
||||
peer_info.collator_state.set_role(collator_role, |msg| send_polkadot_message(
|
||||
ctx,
|
||||
|
||||
Reference in New Issue
Block a user