From 85667b5dd52d6c344754c895852098de87cfd0e3 Mon Sep 17 00:00:00 2001 From: benluelo Date: Sat, 14 Oct 2023 19:39:49 +0100 Subject: [PATCH] fix: add codespaced to tx_sync/tx_async responses --- rpc/src/endpoint/broadcast/tx_async.rs | 3 +++ rpc/src/endpoint/broadcast/tx_sync.rs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/rpc/src/endpoint/broadcast/tx_async.rs b/rpc/src/endpoint/broadcast/tx_async.rs index 3880d3e24..28c88efad 100644 --- a/rpc/src/endpoint/broadcast/tx_async.rs +++ b/rpc/src/endpoint/broadcast/tx_async.rs @@ -50,6 +50,9 @@ pub struct Response { /// Transaction hash pub hash: Hash, + + /// Transaction hash + pub codespace: String, } impl crate::Response for Response {} diff --git a/rpc/src/endpoint/broadcast/tx_sync.rs b/rpc/src/endpoint/broadcast/tx_sync.rs index 8bd0a6295..4da739b42 100644 --- a/rpc/src/endpoint/broadcast/tx_sync.rs +++ b/rpc/src/endpoint/broadcast/tx_sync.rs @@ -50,6 +50,9 @@ pub struct Response { /// Transaction hash pub hash: Hash, + + /// Transaction hash + pub codespace: String, } impl crate::Response for Response {}