From 9dc9b235c4fc12eabc2b4622314cce87b1599d03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marin=20Ver=C5=A1i=C4=87?= Date: Fri, 17 May 2024 11:51:13 +0200 Subject: [PATCH] [fix]: make TransactionValue::error field public (#4609) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marin Veršić --- data_model/src/transaction.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data_model/src/transaction.rs b/data_model/src/transaction.rs index a7742873c7a..41b17480a46 100644 --- a/data_model/src/transaction.rs +++ b/data_model/src/transaction.rs @@ -169,7 +169,10 @@ pub mod model { } /// Transaction Value used in Instructions and Queries - #[derive(Debug, Clone, PartialEq, Eq, Decode, Encode, Deserialize, Serialize, IntoSchema)] + #[derive( + Debug, Clone, PartialEq, Eq, Getters, Decode, Encode, Deserialize, Serialize, IntoSchema, + )] + #[getset(get = "pub")] #[ffi_type] pub struct TransactionValue { /// Committed transaction