From 542d6b94ae43dce3eb62711e0065746c6e448c53 Mon Sep 17 00:00:00 2001 From: Joshua Primero Date: Fri, 23 Sep 2022 11:54:05 -0500 Subject: [PATCH] Make Validated fields pub --- transaction/src/model/validated_transaction.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/transaction/src/model/validated_transaction.rs b/transaction/src/model/validated_transaction.rs index bd171094667..a193359764b 100644 --- a/transaction/src/model/validated_transaction.rs +++ b/transaction/src/model/validated_transaction.rs @@ -8,13 +8,13 @@ use crate::model::*; /// Represents a validated transaction #[derive(Debug, Clone, PartialEq, Eq)] pub struct Validated { - transaction: T, - transaction_hash: Hash, - instructions: Vec, - initial_proofs: Vec, - cost_unit_limit: u32, - tip_percentage: u32, - blobs: Vec>, + pub transaction: T, + pub transaction_hash: Hash, + pub instructions: Vec, + pub initial_proofs: Vec, + pub cost_unit_limit: u32, + pub tip_percentage: u32, + pub blobs: Vec>, } impl Validated {