Skip to content

Commit

Permalink
Fix missing hasher parameter (#793)
Browse files Browse the repository at this point in the history
Signed-off-by: Thane Thomson <[email protected]>
  • Loading branch information
thanethomson authored Jan 28, 2021
1 parent 095f135 commit c041841
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion light-client/src/supervisor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ mod tests {
use super::*;
use crate::components::io::IoError;
use crate::light_client::Options;
use crate::operations::ProdHasher;
use crate::{
components::{
io::{AtHeight, Io},
Expand Down Expand Up @@ -477,8 +478,10 @@ mod tests {
let verifier = ProdVerifier::default();
let clock = MockClock { now };
let scheduler = scheduler::basic_bisecting_schedule;
let hasher = ProdHasher::default();

let light_client = LightClient::new(peer_id, options, clock, scheduler, verifier, io);
let light_client =
LightClient::new(peer_id, options, clock, scheduler, verifier, hasher, io);

Instance::new(light_client, state)
}
Expand Down

0 comments on commit c041841

Please sign in to comment.