Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoffranca committed Oct 21, 2024
1 parent d5f8531 commit fcf36aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/libs/roles/src/validator/messages/tests/versions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ mod version1 {

// Check if msg.hash() is equal to hash.
if msg.hash() != hash {
return Err(anyhow::anyhow!("Hash mismatch"));
anyhow::bail!("Hash mismatch");
}

// Check if sig is a valid signature of hash.
Expand Down

0 comments on commit fcf36aa

Please sign in to comment.