From ac66fcd654132f0c829390deb3f7bc29463f91c0 Mon Sep 17 00:00:00 2001 From: Alessandro Rezzi Date: Wed, 20 Sep 2023 21:44:11 +0200 Subject: [PATCH] kitty fix --- scripts/wallet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/wallet.js b/scripts/wallet.js index 463858b27..c13ac4a9c 100644 --- a/scripts/wallet.js +++ b/scripts/wallet.js @@ -476,10 +476,10 @@ export async function generateWallet(noUI = false) { setDisplayForAllWalletOptions('none'); // Update identicon - doms.domIdenticon.dataset.jdenticonValue = wallet.getAddress(); + doms.domIdenticon.dataset.jdenticonValue = await wallet.getAddress(); jdenticon.update('#identicon'); - wallet.getNewAddress({ updateGUI: true }); + await getNewAddress({ updateGUI: true }); // Refresh the balance UI (why? because it'll also display any 'get some funds!' alerts) getBalance(true);