diff --git a/client/src/rpc_client.rs b/client/src/rpc_client.rs index ed42ecbf0cd6d9..d7feb597e2bcac 100644 --- a/client/src/rpc_client.rs +++ b/client/src/rpc_client.rs @@ -727,7 +727,7 @@ impl RpcClient { &self, slot: Option, ) -> ClientResult> { - self.get_leader_schedule_with_config(slot, RpcLeaderScheduleConfig::default()) + self.get_leader_schedule_with_commitment(slot, self.commitment_config) } pub fn get_leader_schedule_with_commitment(