Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
nudge
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcmay committed Oct 13, 2021
1 parent 21a6e0a commit bc10e1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/program/src/message/sanitized.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ mod tests {
Some(&key0),
))
.unwrap();
assert_eq!(message.calculate_fee(&FeeCalculator::new(1)), 2);
assert_eq!(message.calculate_fee(1), 2);

instruction1.data = vec![0];
instruction2.data = vec![10];
Expand All @@ -635,6 +635,6 @@ mod tests {
Some(&key0),
))
.unwrap();
assert_eq!(message.calculate_fee(&FeeCalculator::new(1)), 11);
assert_eq!(message.calculate_fee(1), 11);
}
}

0 comments on commit bc10e1b

Please sign in to comment.