From cb9c4c5759887fb9b8ca969e6ec7ee16843f02ee Mon Sep 17 00:00:00 2001 From: mubarak23 Date: Mon, 19 Aug 2024 14:47:16 +0100 Subject: [PATCH] fmt on lockable component --- src/components/lockable/lockable.cairo | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/lockable/lockable.cairo b/src/components/lockable/lockable.cairo index dd4a12e..666fd1c 100644 --- a/src/components/lockable/lockable.cairo +++ b/src/components/lockable/lockable.cairo @@ -17,7 +17,7 @@ pub mod LockableComponent { }; #[storage] - pub struct Storage{ + pub struct Storage { lock_until: u64 } @@ -96,8 +96,8 @@ pub mod LockableComponent { } fn is_lock(self: @ComponentState) -> bool { - // self.lock_until.read() > get_block_timestamp() - true + // self.lock_until.read() > get_block_timestamp() + true } } }