Skip to content

Commit 3b8d8e7

Browse files
committed
Fix tests.
1 parent 053d450 commit 3b8d8e7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

beacon_node/http_api/tests/broadcast_validation_tests.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,14 +1275,17 @@ pub async fn blinded_equivocation_consensus_late_equivocation() {
12751275
Arc::new(block_a),
12761276
)
12771277
.await
1278-
.unwrap();
1278+
.expect("failed to reconstruct block")
1279+
.expect("block expected");
1280+
12791281
let unblinded_block_b = reconstruct_block(
12801282
tester.harness.chain.clone(),
12811283
block_b.canonical_root(),
12821284
block_b.clone(),
12831285
)
12841286
.await
1285-
.unwrap();
1287+
.expect("failed to reconstruct block")
1288+
.expect("block expected");
12861289

12871290
let inner_block_a = match unblinded_block_a {
12881291
ProvenancedBlock::Local(a, _, _) => a,

0 commit comments

Comments
 (0)