From f85b759a823821d4ab39b7bbecf27b3efedb71a1 Mon Sep 17 00:00:00 2001 From: mos Date: Fri, 1 Nov 2024 10:13:14 +0100 Subject: [PATCH] fix node type for data parsing --- bip/src/bp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bip/src/bp.rs b/bip/src/bp.rs index b86be8b..09d219e 100644 --- a/bip/src/bp.rs +++ b/bip/src/bp.rs @@ -156,7 +156,7 @@ impl Writer { let data_rec = self.data.get(id).ok_or(Error::NotDefined)?; let data = Node::new( - node.op.clone(), + NodeOp::Data, data_rec .iter() .zip(node.entries.iter().collect::>())