Skip to content

Commit

Permalink
Fix block ID test
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Sep 11, 2023
1 parent 57a36a2 commit 5e0b126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/tests/types/block_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ fn compute() {
// TODO: Independently verify this value
assert_eq!(
block_id.to_string(),
"0x5e3d8befccbd36860a589cf9427efa108bcc781f630ebfdf6f57cef7eed8b5bb0b00000000000000"
"0x7ac622307277e700e4161d805d22dfb03f89904657a6353f985bd6e78ed267550b00000000000000"
);
assert_eq!(
block_id.hash().to_string(),
"0x5e3d8befccbd36860a589cf9427efa108bcc781f630ebfdf6f57cef7eed8b5bb"
"0x7ac622307277e700e4161d805d22dfb03f89904657a6353f985bd6e78ed26755"
);
assert_eq!(block_id.slot_index(), slot_index);
}

0 comments on commit 5e0b126

Please sign in to comment.