Skip to content

Commit

Permalink
fix(AuthenticateTxkField): Account for merge bit
Browse files Browse the repository at this point in the history
Co-authored-by: Alan Szepieniec <[email protected]>
  • Loading branch information
Sword-Smith and aszepieniec committed Jan 3, 2025
1 parent 0f6a695 commit 0f13fba
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ mod tests {
// for all transaction fields in reverse order, accumulate offset and record size
let mut offset = 0;

if let Some(static_length) = bool::static_length() {
field_offsets_and_sizes.push((offset, static_length));
offset += static_length;
} else {
unreachable!("bool should have static length 1");
}

// pub mutator_set_hash: Digest,
if let Some(static_length) = Digest::static_length() {
field_offsets_and_sizes.push((offset, static_length));
Expand Down

0 comments on commit 0f13fba

Please sign in to comment.