Skip to content

Commit

Permalink
chore: fix typo (matter-labs#575)
Browse files Browse the repository at this point in the history
## What ❔

- fix typo

## Why ❔

- fix typo

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] Code has been formatted via `zk fmt` and `zk lint`.
- [x] Spellcheck has been run via `cargo spellcheck
--cfg=./spellcheck/era.cfg --code 1`.

---------

Co-authored-by: Igor Aleksanov <[email protected]>
  • Loading branch information
0xKarm and popzxc authored Dec 1, 2023
1 parent 0cd2c6b commit 94a3319
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub(crate) fn get_debug_log<H: HistoryMode>(
let msg = String::from_utf8(msg).expect("Invalid debug message");
let data = U256::from_big_endian(&data);

// For long data, it is better to use hex-encoding for greater readibility
// For long data, it is better to use hex-encoding for greater readability
let data_str = if data > U256::from(u64::max_value()) {
let mut bytes = [0u8; 32];
data.to_big_endian(&mut bytes);
Expand Down

0 comments on commit 94a3319

Please sign in to comment.