Refactor: Add trait for loading addresses (#22903)
This commit is contained in:
@@ -236,7 +236,7 @@ mod tests {
|
||||
hash::Hash,
|
||||
signature::{Keypair, Signer},
|
||||
system_transaction,
|
||||
transaction::{TransactionError, VersionedTransaction},
|
||||
transaction::{DisabledAddressLoader, VersionedTransaction},
|
||||
},
|
||||
solana_vote_program::vote_transaction,
|
||||
std::{cmp, sync::Arc},
|
||||
@@ -285,7 +285,7 @@ mod tests {
|
||||
VersionedTransaction::from(transaction),
|
||||
message_hash,
|
||||
Some(true),
|
||||
|_| Err(TransactionError::UnsupportedVersion),
|
||||
&DisabledAddressLoader,
|
||||
)
|
||||
.unwrap();
|
||||
(vote_transaction, vec![mint_keypair.pubkey()], 10)
|
||||
|
Reference in New Issue
Block a user