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

Commit

Permalink
Further fixes after removal of async keystore trait
Browse files Browse the repository at this point in the history
  • Loading branch information
davxy committed Mar 17, 2023
1 parent 36627cb commit 527e868
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/network/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ async fn make_gossip_message_and_header(
validator_index.into(),
&alice_public.into(),
)
.await
.ok()
.flatten()
.expect("Signing statement");
Expand Down Expand Up @@ -466,13 +465,13 @@ async fn check_statement_seconded() {

let statement = Statement::Valid(Default::default());

let signed_statement = block_on(SignedFullStatement::sign(
let signed_statement = SignedFullStatement::sign(
&keystore,
statement,
&signing_context,
0.into(),
&alice_public.into(),
))
)
.ok()
.flatten()
.expect("Signs statement");
Expand Down

0 comments on commit 527e868

Please sign in to comment.