From c56dfb2d3cbdb68fb334a38fb64903a1e8727056 Mon Sep 17 00:00:00 2001 From: Nikki Gaudreau Date: Fri, 1 Nov 2024 00:49:08 -0400 Subject: [PATCH 1/2] Revert "Fix audio" This reverts commit 4f5e770bdb4501b04a0c3c936728e7fa82e42c2c. --- client/src/index.html | 6 ------ client/src/index.ts | 4 ---- 2 files changed, 10 deletions(-) diff --git a/client/src/index.html b/client/src/index.html index 5096424..a57624c 100644 --- a/client/src/index.html +++ b/client/src/index.html @@ -68,12 +68,6 @@ -

Wallet Test Framework

diff --git a/client/src/index.ts b/client/src/index.ts index cac64c3..2fac172 100644 --- a/client/src/index.ts +++ b/client/src/index.ts @@ -365,10 +365,6 @@ function main() { spawn(async () => await run(window.ethereum)), ); - walletconnect.addEventListener("click", () => { - const audio = document.getElementById("audio") as HTMLAudioElement; - audio.play().catch((e) => alert(e)); - }); walletconnect.addEventListener( "click", spawn(async () => { From d24489a78462b39d469a3d03907196ebd632f4a8 Mon Sep 17 00:00:00 2001 From: Nikki Gaudreau Date: Fri, 1 Nov 2024 00:49:58 -0400 Subject: [PATCH 2/2] Try not waiting for WC --- client/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/index.ts b/client/src/index.ts index 2fac172..d6203bb 100644 --- a/client/src/index.ts +++ b/client/src/index.ts @@ -385,7 +385,7 @@ function main() { rpcMap: rpcMap, }); - await provider.connect(); + spawn(async () => await provider.connect())(); await run(provider); }),