Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
fix bug in aspect map
Browse files Browse the repository at this point in the history
  • Loading branch information
zippy committed Jul 29, 2020
1 parent e75bca1 commit 1554bb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/core/src/dht/dht_reducers.rs
Expand Up @@ -64,7 +64,7 @@ pub(crate) fn reduce_commit_entry(
match reduce_store_entry_inner(&mut new_store, entry) {
Ok(()) => Some(new_store),
Err(e) => {
println!("{}", e);
error!("{}", e);
None
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/core_types/src/network/entry_aspect.rs
Expand Up @@ -100,7 +100,7 @@ impl EntryAspect {
pub fn entry_address(&self) -> Result<Address, HolochainError> {
Ok(match self {
EntryAspect::Content(_, header) => match header.link_update_delete() {
Some(ref updated_entry) => updated_entry.clone(),
Some(ref _updated_entry) => header.entry_address().clone(), //updated_entry.clone(),
None => header.entry_address().clone(),
},
EntryAspect::LinkAdd(link_data, _) => link_data.link.base().clone(),
Expand Down

0 comments on commit 1554bb7

Please sign in to comment.