fix grandpa test (#1996)

This commit is contained in:
thiolliere
2019-03-14 13:50:38 +01:00
committed by GitHub
parent 534863d6d8
commit e89d6e66fc
+2 -2
View File
@@ -1003,8 +1003,8 @@ fn allows_reimporting_change_blocks() {
#[test] #[test]
fn test_bad_justification() { fn test_bad_justification() {
let peers_a = &[Keyring::Alice, Keyring::Bob, Keyring::Charlie]; let peers_a = &[AuthorityKeyring::Alice, AuthorityKeyring::Bob, AuthorityKeyring::Charlie];
let peers_b = &[Keyring::Alice, Keyring::Bob]; let peers_b = &[AuthorityKeyring::Alice, AuthorityKeyring::Bob];
let voters = make_ids(peers_a); let voters = make_ids(peers_a);
let api = TestApi::new(voters); let api = TestApi::new(voters);
let net = GrandpaTestNet::new(api.clone(), 3); let net = GrandpaTestNet::new(api.clone(), 3);