Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Dec 16, 2021
1 parent db4b2d5 commit 0bd8efd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion node/core/approval-voting/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,10 @@ async fn import_block(

let session_info = config.session_info.clone().unwrap_or({
let validators = vec![Sr25519Keyring::Alice, Sr25519Keyring::Bob];
session_info(&validators)
SessionInfo {
needed_approvals: 1,
..session_info(&validators)
}
});

overseer_send(
Expand Down

0 comments on commit 0bd8efd

Please sign in to comment.