Skip to content

Commit

Permalink
1.7.29 (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomXY authored Nov 8, 2021
1 parent 993d774 commit 89aa436
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
edition = "2018"
build = "build.rs"
name = "ton_block"
version = "1.7.28"
version = "1.7.29"

[target.'cfg(target_arch = "wasm32")'.dependencies]
clear_on_drop = { version = "0.2", features = ["no_cc"] }
Expand Down
4 changes: 2 additions & 2 deletions src/bintree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ where F: FnOnce(X, X) -> Result<X>, X: Default + Serializable + Deserializable
} else if let Some(x) = key.get_next_bit_opt() {
if let Some(reference) = internal_merge(&data.reference(x)?.into(), key, merger)? {
let mut cell = BuilderData::from_slice(data);
cell.replace_reference_cell(x, reference.into());
cell.replace_reference_cell(x, reference.into_cell()?);
return Ok(Some(cell))
}
} else {
Expand Down Expand Up @@ -110,7 +110,7 @@ where F: FnOnce(X) -> Result<(X, X)>, X: Default + Serializable + Deserializable
if let Some(x) = key.get_next_bit_opt() {
if let Some(reference) = internal_split(&data.reference(x)?.into(), key, splitter)? {
let mut cell = BuilderData::from_slice(data);
cell.replace_reference_cell(x, reference.into());
cell.replace_reference_cell(x, reference.into_cell()?);
return Ok(Some(cell))
}
}
Expand Down

0 comments on commit 89aa436

Please sign in to comment.