From 6a39346f4ba20444f35d6e075e6b638b0e79b014 Mon Sep 17 00:00:00 2001 From: conduition Date: Wed, 6 Mar 2024 00:18:55 +0000 Subject: [PATCH] Remove irrelevant Debug and Clone implementations --- src/spend_info/funding.rs | 1 - src/spend_info/outcome.rs | 1 - src/spend_info/split.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/src/spend_info/funding.rs b/src/spend_info/funding.rs index 4ec2ca4..1c8b102 100644 --- a/src/spend_info/funding.rs +++ b/src/spend_info/funding.rs @@ -10,7 +10,6 @@ use crate::{ parties::{MarketMaker, Player}, }; -#[derive(Debug, Clone)] pub(crate) struct FundingSpendInfo { key_agg_ctx: KeyAggContext, funding_value: Amount, diff --git a/src/spend_info/outcome.rs b/src/spend_info/outcome.rs index 8bb0cf7..14efebd 100644 --- a/src/spend_info/outcome.rs +++ b/src/spend_info/outcome.rs @@ -35,7 +35,6 @@ use std::{borrow::Borrow, collections::BTreeMap}; /// Once PTLCs are available, we can instead sign the split transaction once /// and distribute adaptor-signatures to each player, encrypted under the /// player's ticket point. -#[derive(Debug, Clone)] pub(crate) struct OutcomeSpendInfo { untweaked_ctx: KeyAggContext, tweaked_ctx: KeyAggContext, diff --git a/src/spend_info/split.rs b/src/spend_info/split.rs index 64a64d0..c5bed7f 100644 --- a/src/spend_info/split.rs +++ b/src/spend_info/split.rs @@ -27,7 +27,6 @@ use crate::{ /// /// 3. A hash-lock which pays to the market maker immediately if they learn the // payout preimage from the player. -#[derive(Debug, Clone)] pub(crate) struct SplitSpendInfo { untweaked_ctx: KeyAggContext, tweaked_ctx: KeyAggContext,