Skip to content

Commit 0dc5251

Browse files
authored
Merge pull request #95 from utxostack/vss-lock
chore(docs): update the comment of `DeviceLock.is_locked`
2 parents 1dff271 + 299561b commit 0dc5251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mutiny-core/src/storage.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ impl DeviceLock {
162162
}
163163

164164
/// Check if the device is locked
165-
/// This is determined if the time is less than 2 minutes ago
165+
/// This is determined if the time is less than `2 * DEVICE_LOCK_INTERVAL_SECS` ago
166166
pub fn is_locked(&self, id: &str) -> bool {
167167
let now = now().as_secs();
168168
let diff = now.saturating_sub(self.time as u64);

0 commit comments

Comments
 (0)