Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sunce86 committed Jan 22, 2025
1 parent e0c7919 commit 6ca2b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/autopilot/src/domain/settlement/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl Transaction {
.0
.len()
.checked_sub(META_DATA_LEN)
// should contain at least 4 bytes for function selector and 8 bytes for auction id
// should contain at META_DATA_LEN bytes for auction id
.ok_or(Error::MissingCalldata)?,
);
let metadata: Option<[u8; META_DATA_LEN]> = metadata.try_into().ok();
Expand Down

0 comments on commit 6ca2b1d

Please sign in to comment.