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

Commit

Permalink
Fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyera Eulberg committed Jan 5, 2023
1 parent 91b636d commit 97aa4a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 3 additions & 1 deletion sdk/program/src/message/sanitized.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ impl SanitizedMessage {
address_loader: impl AddressLoader,
) -> Result<Self, SanitizeMessageError> {
Ok(match sanitized_msg.message {
VersionedMessage::Legacy(message) => SanitizedMessage::Legacy(message),
VersionedMessage::Legacy(message) => {
SanitizedMessage::Legacy(LegacyMessage::new(message))
}
VersionedMessage::V0(message) => {
let loaded_addresses =
address_loader.load_addresses(&message.address_table_lookups)?;
Expand Down
7 changes: 1 addition & 6 deletions sdk/src/transaction/sanitized.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,9 @@ use {
crate::{
hash::Hash,
message::{
<<<<<<< HEAD
v0::{self, LoadedAddresses},
SanitizedMessage, VersionedMessage,
=======
legacy,
v0::{self, LoadedAddresses, MessageAddressTableLookup},
v0::{self, LoadedAddresses},
LegacyMessage, SanitizedMessage, VersionedMessage,
>>>>>>> 5e71f339c (Add a SanitizedMessage type that caches writable accounts indexes (#27317))
},
precompiles::verify_if_precompile,
pubkey::Pubkey,
Expand Down

0 comments on commit 97aa4a2

Please sign in to comment.