From 25245ad1125e8a57397f1570a1ff05f6ba9af1d6 Mon Sep 17 00:00:00 2001 From: abhi Date: Mon, 16 Jan 2023 22:08:07 +0530 Subject: [PATCH] make ChainBlockExtrinsic cloneable (#778) --- subxt/src/rpc/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subxt/src/rpc/types.rs b/subxt/src/rpc/types.rs index 989308d718..c68b17a08f 100644 --- a/subxt/src/rpc/types.rs +++ b/subxt/src/rpc/types.rs @@ -114,7 +114,7 @@ pub type ConsensusEngineId = [u8; 4]; pub type EncodedJustification = Vec; /// Bytes representing an extrinsic in a [`ChainBlock`]. -#[derive(Debug)] +#[derive(Clone, Debug)] pub struct ChainBlockExtrinsic(pub Vec); impl<'a> ::serde::Deserialize<'a> for ChainBlockExtrinsic {