Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Pass keystore properly
  • Loading branch information
Rakan Alhneiti committed Jun 4, 2020
commit 44c2e76bbf23ed9a205e70a0938cbccf51b725ee
2 changes: 1 addition & 1 deletion client/finality-grandpa/src/communication/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ impl<B: BlockT, N: Network<B>> NetworkBridge<B, N> {
/// network all within the current set.
pub(crate) fn round_communication(
&self,
keystore: &Option<BareCryptoStorePtr>,
keystore: Option<BareCryptoStorePtr>,
round: Round,
set_id: SetId,
voters: Arc<VoterSet<AuthorityId>>,
Expand Down
2 changes: 1 addition & 1 deletion client/finality-grandpa/src/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ where
};

let (incoming, outgoing) = self.network.round_communication(
&self.config.keystore,
self.config.keystore.clone(),
crate::communication::Round(round),
crate::communication::SetId(self.set_id),
self.voters.clone(),
Expand Down