Fix tests.

This commit is contained in:
Gav committed 2018-01-19 16:34:28 +01:00
1 parent c29313c618
commit 262dd7bc55
3 files changed
+103 -9

No files matched your search

@@ -9,6 +9,8 @@ pub trait Storable {
fn store(&self, key: &[u8]);
}
// TODO: consider using blake256 to avoid possible eclipse attack.
pub fn kill(key: &[u8]) { runtime_support::set_storage(&twox_128(key)[..], b""); }
impl<T: Default + Sized + EndianSensitive> Storable for T {