Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hal3e committed Jan 11, 2024
1 parent b466d7b commit bbb3677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/fuels-core/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
pub mod constants;
pub mod offsets;

use crate::error;
use crate::types::errors::Result;
use constants::{WITNESS_STATIC_SIZE, WORD_SIZE};
use fuel_tx::Witness;

use crate::{error, types::errors::Result};

pub fn checked_round_up_to_word_alignment(bytes_len: usize) -> Result<usize> {
let lhs = bytes_len.checked_add(WORD_SIZE - 1).ok_or_else(|| {
error!(
Expand Down

0 comments on commit bbb3677

Please sign in to comment.