Remove serde for ScriptLeaf
This was incorrect and not needed. Users should not be able to create only tree leaves directly without going through the tree construction in rust-bitcoin
This commit is contained in:
parent
9affda3012
commit
a397ab0c19
|
@ -931,8 +931,6 @@ impl TapLeaf {
|
|||
|
||||
/// Store information about taproot leaf node.
|
||||
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
#[cfg_attr(feature = "serde", serde(crate = "actual_serde"))]
|
||||
pub struct ScriptLeaf {
|
||||
/// The [`TapLeaf`]
|
||||
leaf: TapLeaf,
|
||||
|
|
Loading…
Reference in New Issue