Skip to content

Commit d492a8d

Browse files
committed
merke update
1 parent 2b73e3a commit d492a8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/tlb/src/ser/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::cell_type::CellType;
44
use crate::{bits::{
55
bitvec::{order::Msb0, slice::BitSlice, vec::BitVec},
66
ser::{BitWriter, LimitWriter},
7-
}, r#as::Ref, Cell, Error, ResultExt, OrdinaryCell, PrunedBranchCell, LibraryReferenceCell, MerkleProofCell};
7+
}, r#as::Ref, Cell, Error, ResultExt, OrdinaryCell, PrunedBranchCell, LibraryReferenceCell, MerkleProofCell, MerkleUpdateCell};
88

99
use super::{
1010
args::{r#as::CellSerializeAsWithArgs, CellSerializeWithArgs},
@@ -214,7 +214,7 @@ impl CellBuilder {
214214
CellType::PrunedBranch => Cell::PrunedBranch(PrunedBranchCell { data: self.data.into_inner() }),
215215
CellType::LibraryReference => Cell::LibraryReference(LibraryReferenceCell { data: self.data.into_inner() }),
216216
CellType::MerkleProof => Cell::MerkleProof(MerkleProofCell { data: self.data.into_inner(), references: self.references }),
217-
CellType::MerkleUpdate => todo!()
217+
CellType::MerkleUpdate => Cell::MerkleUpdate(MerkleUpdateCell { data: self.data.into_inner(), references: self.references })
218218
}
219219
}
220220
}

0 commit comments

Comments
 (0)