Skip to content

Commit

Permalink
delete_entry_relaxed
Browse files Browse the repository at this point in the history
  • Loading branch information
ddd-mtl committed Jul 9, 2024
1 parent af8643c commit 463e559
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/relaxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@ pub fn delete_link_relaxed(address: ActionHash) -> ExternResult<ActionHash> {
})
}


///
pub fn delete_entry_relaxed(address: ActionHash) -> ExternResult<ActionHash> {
HDK.with(|h| {
h.borrow()
.delete(DeleteInput::new(address, ChainTopOrdering::Relaxed))
})
}

0 comments on commit 463e559

Please sign in to comment.