Skip to content

Commit 1012724

Browse files
committed
Add '()' annotation and error handling to submit_header
1 parent cd12639 commit 1012724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration_test/tests/mining.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,5 +224,5 @@ fn mining__submit_header() {
224224
// Change the nonce to ensure the header is different from the current tip.
225225
header.nonce = header.nonce.wrapping_add(1);
226226

227-
let _ = node.client.submit_header(&header);
227+
let _: () = node.client.submit_header(&header).expect("submitheader");
228228
}

0 commit comments

Comments
 (0)