fix(ci): align lint-safe security paths

This commit is contained in:
elky
2026-09-05 03:19:53 +08:00
parent f5e1420ee6
commit 33d5cd5993
45 changed files with 180 additions and 132 deletions
@@ -1825,9 +1825,9 @@ impl WalletWriteRepository for InMemoryWalletRepository {
));
}
let now_secs = current_unix_secs();
if !current_order
if current_order
.expires_at_unix_secs
.is_some_and(|expires_at| expires_at > now_secs)
.is_none_or(|expires_at| expires_at <= now_secs)
{
return Ok(WalletMutationOutcome::Invalid(
"wallet recharge order is expired".to_string(),