checking for signals in the light client
This commit is contained in:
@@ -666,6 +666,8 @@ impl Engine for AuthorityRound {
|
||||
(&active_set as &_, epoch_manager.epoch_transition_number)
|
||||
};
|
||||
|
||||
// always report with "self.validators" so that the report actually gets
|
||||
// to the contract.
|
||||
let report = |report| match report {
|
||||
Report::Benign(address, block_number) =>
|
||||
self.validators.report_benign(&address, set_number, block_number),
|
||||
|
||||
@@ -132,7 +132,7 @@ pub trait StateDependentProof {
|
||||
|
||||
/// Proof generated on epoch change.
|
||||
pub enum Proof {
|
||||
/// Known proof (exctracted from signal)
|
||||
/// Known proof (extracted from signal)
|
||||
Known(Vec<u8>),
|
||||
/// State dependent proof.
|
||||
WithState(Box<StateDependentProof>),
|
||||
|
||||
Reference in New Issue
Block a user