Skip to content

Commit

Permalink
separate deprecation message for result type
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Nov 20, 2024
1 parent 3875c47 commit 0850233
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions sdk/src/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,13 @@ mod versioned;

#[deprecated(since = "2.1.0", note = "Use solana_transaction_error crate instead")]
pub use solana_transaction_error::{
AddressLoaderError, SanitizeMessageError, TransactionError, TransactionResult as Result,
TransportError, TransportResult,
AddressLoaderError, SanitizeMessageError, TransactionError, TransportError, TransportResult,
};
#[deprecated(
since = "2.2.0",
note = "Use `solana_transaction_error::TransactionResult` instead"
)]
pub type Result<T> = solana_transaction_error::TransactionResult<T>;
pub use {sanitized::*, versioned::*};

#[derive(PartialEq, Eq, Clone, Copy, Debug)]
Expand Down

0 comments on commit 0850233

Please sign in to comment.