Skip to content

Commit

Permalink
fix(docs): add mention of the versioned message field in transaction …
Browse files Browse the repository at this point in the history
…metadata in the code's documentation
  • Loading branch information
KellianDev committed Dec 19, 2024
1 parent 7e7307b commit 29aae81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/core/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ use serde::de::DeserializeOwned;
use solana_sdk::{pubkey::Pubkey, signature::Signature};
use std::sync::Arc;

/// Contains metadata about a transaction, including its slot, signature, fee payer and transaction status metadata.
/// Contains metadata about a transaction, including its slot, signature, fee payer, transaction status metadata and the version transaction message.
#[derive(Debug, Clone)]
pub struct TransactionMetadata {
Expand Down
2 changes: 1 addition & 1 deletion crates/core/src/transformers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ use std::{collections::HashSet, str::FromStr};
///
/// # Returns
///
/// A `CarbonResult<TransactionMetadata>` which includes the slot, signature, fee payer and transaction status metadata.
/// A `CarbonResult<TransactionMetadata>` which includes the slot, signature, fee payer, transaction status metadata and the version transaction message.
///
/// # Errors
///
Expand Down

0 comments on commit 29aae81

Please sign in to comment.