Skip to content

Commit

Permalink
Fixup missed instances of SanitizedTransaction::try_create()
Browse files Browse the repository at this point in the history
The function signature was changed in solana-labs#31767, but these instances were
not updated due to the PR being created before the instances were added
to the repo.
  • Loading branch information
Steven Czabaniuk committed Jun 7, 2023
1 parent ee2c2ef commit fc6a015
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sdk/src/transaction/sanitized.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ mod tests {
MessageHash::Compute,
None,
SimpleAddressLoader::Disabled,
true, // require_static_program_ids
)
.unwrap();
assert!(vote_transaction.is_simple_vote_transaction());
Expand All @@ -340,7 +339,6 @@ mod tests {
MessageHash::Compute,
Some(false),
SimpleAddressLoader::Disabled,
true, // require_static_program_ids
)
.unwrap();
assert!(!vote_transaction.is_simple_vote_transaction());
Expand All @@ -355,7 +353,6 @@ mod tests {
MessageHash::Compute,
None,
SimpleAddressLoader::Disabled,
true, // require_static_program_ids
)
.unwrap();
assert!(!vote_transaction.is_simple_vote_transaction());
Expand All @@ -368,7 +365,6 @@ mod tests {
MessageHash::Compute,
Some(true),
SimpleAddressLoader::Disabled,
true, // require_static_program_ids
)
.unwrap();
assert!(vote_transaction.is_simple_vote_transaction());
Expand Down

0 comments on commit fc6a015

Please sign in to comment.