Skip to content

Commit

Permalink
feat: Implement Debug for ElementsEnv
Browse files Browse the repository at this point in the history
CElementsEnv implements Debug, so it should be safe to implement Debug
for ElementsEnv.
  • Loading branch information
uncomputable committed Sep 27, 2024
1 parent 7b48bd8 commit a9c8cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jet/elements/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl From<elements::TxOut> 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<T: Deref<Target = elements::Transaction>> {
/// The CTxEnv struct
c_tx_env: CElementsTxEnv,
Expand Down

0 comments on commit a9c8cce

Please sign in to comment.