Skip to content

Commit

Permalink
chore(core): Add MpVerify to comments in fingerprint computation
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippGackstatter committed Oct 28, 2024
1 parent 23cc407 commit 19ae6bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/mast/node_fingerprint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ impl MastNodeFingerprint {
bytes_to_hash.extend(forest[decorator_id].fingerprint().as_bytes());
}

// Add any `Assert` or `U32assert2` opcodes present, since these are not included in
// the MAST root.
// Add any `Assert`, `U32assert2` and `MpVerify` opcodes present, since these are
// not included in the MAST root.
for (op_idx, op) in node.operations().enumerate() {
if let Operation::U32assert2(inner_value)
| Operation::Assert(inner_value)
Expand Down

0 comments on commit 19ae6bf

Please sign in to comment.