Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update primitives/io/src/lib.rs
Co-Authored-By: Tomasz Drwięga <[email protected]>
  • Loading branch information
drahnr and tomusdrw authored Apr 23, 2020
commit 9b0012cddd202541c645a9a33686e5044e039b13
2 changes: 1 addition & 1 deletion primitives/io/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ pub trait OffchainIndex {
self.set_offchain_storage(key, Some(value));
}

/// Remove a key and its associated value from the offchain worker database.
/// Remove a key and its associated value from the Offchain DB.
fn clear(&mut self, key: &[u8]) {
self.set_offchain_storage(key, None);
}
Expand Down