Skip to content

Commit

Permalink
fmt on lockable component
Browse files Browse the repository at this point in the history
  • Loading branch information
mubarak23 committed Aug 19, 2024
1 parent 179d4a4 commit cb9c4c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/lockable/lockable.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub mod LockableComponent {
};

#[storage]
pub struct Storage{
pub struct Storage {
lock_until: u64
}

Expand Down Expand Up @@ -96,8 +96,8 @@ pub mod LockableComponent {
}

fn is_lock(self: @ComponentState<TContractState>) -> bool {
// self.lock_until.read() > get_block_timestamp()
true
// self.lock_until.read() > get_block_timestamp()
true
}
}
}
Expand Down

0 comments on commit cb9c4c5

Please sign in to comment.