From 29aae813957262634a6c831bec4d124bd4b718c6 Mon Sep 17 00:00:00 2001 From: KellianDev Date: Thu, 19 Dec 2024 13:42:56 +0100 Subject: [PATCH] fix(docs): add mention of the versioned message field in transaction metadata in the code's documentation --- crates/core/src/transaction.rs | 2 +- crates/core/src/transformers.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/core/src/transaction.rs b/crates/core/src/transaction.rs index 297b26a..5b9347f 100644 --- a/crates/core/src/transaction.rs +++ b/crates/core/src/transaction.rs @@ -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 { diff --git a/crates/core/src/transformers.rs b/crates/core/src/transformers.rs index d2c089e..376a5ed 100644 --- a/crates/core/src/transformers.rs +++ b/crates/core/src/transformers.rs @@ -54,7 +54,7 @@ use std::{collections::HashSet, str::FromStr}; /// /// # Returns /// -/// A `CarbonResult` which includes the slot, signature, fee payer and transaction status metadata. +/// A `CarbonResult` which includes the slot, signature, fee payer, transaction status metadata and the version transaction message. /// /// # Errors ///