From a9c8cce35dad03aa71ea70753cc7fea4ff208e5c Mon Sep 17 00:00:00 2001 From: Christian Lewe Date: Thu, 26 Sep 2024 12:30:24 +0200 Subject: [PATCH] feat: Implement Debug for ElementsEnv CElementsEnv implements Debug, so it should be safe to implement Debug for ElementsEnv. --- src/jet/elements/environment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jet/elements/environment.rs b/src/jet/elements/environment.rs index 395b9e97..94ef1b3e 100644 --- a/src/jet/elements/environment.rs +++ b/src/jet/elements/environment.rs @@ -36,7 +36,7 @@ impl From for ElementsUtxo { /// # Note /// The order of `utxos` must be same as of the order of inputs in the /// transaction. -#[allow(dead_code)] +#[derive(Debug)] pub struct ElementsEnv> { /// The CTxEnv struct c_tx_env: CElementsTxEnv,