From cdc27e061b0e605c1648b9c4c2112d30afff972b Mon Sep 17 00:00:00 2001 From: Neeraj Gupta Date: Fri, 24 Nov 2023 22:07:04 +0530 Subject: [PATCH] Fix: Add missing await (#368) --- lib/utils/crypto_util.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/crypto_util.dart b/lib/utils/crypto_util.dart index 7492dcaaf..494ef130f 100644 --- a/lib/utils/crypto_util.dart +++ b/lib/utils/crypto_util.dart @@ -451,9 +451,9 @@ class CryptoUtil { Uint8List salt, int memLimit, int opsLimit, - ) { + ) async { try { - return _computer.compute( + return await _computer.compute( cryptoPwHash, param: { "password": password,