Update serialize.rs
This commit is contained in:
parent
024f87e655
commit
604b095540
|
@ -370,7 +370,7 @@ impl Serialize for TapTree {
|
|||
// safe to cast from usize to u8
|
||||
buf.push(leaf_info.merkle_branch().len() as u8);
|
||||
buf.push(leaf_info.version().to_consensus());
|
||||
leaf_info.script().consensus_encode(&mut buf).expect("Vecs dont err");
|
||||
leaf_info.script().consensus_encode(&mut buf).expect("Vecs don't err");
|
||||
}
|
||||
buf
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue