This commit is contained in:
Gav
2018-01-19 10:49:23 +01:00
parent 81cd156d2a
commit 63809d9e0c
11 changed files with 87 additions and 87 deletions
@@ -1,8 +1,8 @@
use primitives::Timestamp;
use storage::Storage;
use storable::Storable;
pub fn get() -> Timestamp {
Storage::into(b"tim\0val")
Storable::lookup_default(b"tim\0val")
}
pub fn set(now: Timestamp) {