Skip to content

Commit

Permalink
more explicit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge committed Aug 9, 2024
1 parent a44a799 commit e634d81
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions transaction-view/src/address_table_lookup_meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ const MIN_SIZED_ATL: usize = {
// A valid packet with ATLs has:
// 1. At least 1 signature
// 2. 1 message prefix byte
// 3. 1 static account key
// 4. 1 recent blockhash
// 3. 3 bytes for the message header
// 4. 1 static account key
// 5. 1 recent blockhash
// 6. 1 byte for the number of instructions (0)
// 7. 1 byte for the number of ATLS
const MIN_SIZED_PACKET_WITH_ATLS: usize = {
1 // signatures count
+ core::mem::size_of::<Signature>() // signature
Expand Down

0 comments on commit e634d81

Please sign in to comment.