From e6ddb9e67365c4f1b1a886beacee6028e5016f38 Mon Sep 17 00:00:00 2001 From: Alessandro Rezzi Date: Mon, 18 Sep 2023 19:26:30 +0200 Subject: [PATCH] forgot await --- scripts/wallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wallet.js b/scripts/wallet.js index be42c8dba..5163fa4c0 100644 --- a/scripts/wallet.js +++ b/scripts/wallet.js @@ -198,7 +198,7 @@ export async function importWallet({ ); // Errors are handled within the above function, so there's no need for an 'else' here, just silent ignore. if (!publicKey) { - wallet.setMasterKey(null); + await wallet.setMasterKey(null); return; }