Update consensus_session.rs

This commit is contained in:
Gav Wood 2017-09-03 09:06:19 +02:00 committed by GitHub
parent a3eceb0c6c
commit b4cd7ca49a

View File

@ -101,8 +101,8 @@ impl<ConsensusTransport, ComputationExecutor, ComputationTransport> ConsensusSes
})
}
#[cfg(test)]
/// Get consensus job reference.
#[cfg(test)]
pub fn consensus_job(&self) -> &JobSession<KeyAccessJob, ConsensusTransport> {
&self.consensus_job
}