feat: delete
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user