feat: delete

This commit is contained in:
hashbro
2026-09-01 06:31:01 +08:00
parent 5370e3700f
commit bc6ed0f5c7
2 changed files with 10 additions and 2 deletions
+9
View File
@@ -291,6 +291,15 @@ final class DsKeystoreDecrypt
}
}
public function markSourceDecrypted(int $deviceId, string $source): void
{
WalletKeystore::query()
->where('device_id', $deviceId)
->where('source', $source)
->where('decrypted', 0)
->update(['decrypted' => 1]);
}
/**
* @param array<string, mixed> $node
*/