Skip to content

Commit

Permalink
Merge pull request #7 from functionland/use_sharer_reload
Browse files Browse the repository at this point in the history
corrected a bug
  • Loading branch information
ehsan6sha authored Aug 2, 2023
2 parents 952ce43 + 619fe78 commit b5bface
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wnfsutils"
version = "1.1.0"
version = "1.1.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 1 addition & 1 deletion src/private_forest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ impl<'a> PrivateDirectoryHelper<'a> {
);
let node_res =
recipient::receive_share(label, &exchange_keypair, forest, store).await;
if node_res.is_err() {
if node_res.is_ok() {
let node = node_res.ok().unwrap();
let latest_node = node.search_latest(forest, store).await;

Expand Down

0 comments on commit b5bface

Please sign in to comment.