From dd9c4c686ae37d3fe7fbac1f700a5dcf6cbcac11 Mon Sep 17 00:00:00 2001 From: Fudgey Date: Wed, 13 Sep 2023 09:52:42 +1000 Subject: [PATCH] add 02 to x api sig for wallet connect --- BlazeRing/Client/Shared/WalletConnect.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlazeRing/Client/Shared/WalletConnect.razor b/BlazeRing/Client/Shared/WalletConnect.razor index 7db39ba..355ebcc 100644 --- a/BlazeRing/Client/Shared/WalletConnect.razor +++ b/BlazeRing/Client/Shared/WalletConnect.razor @@ -166,7 +166,7 @@ else var response = await dappClient.Request(sessionData?.Topic, request); unlockStatus = "Unlocking..."; StateHasChanged(); - var xApiSig = await BlazeRingHelper.GenerateXApiSigHeader(response, accountInformation.owner, accountInformation.accountId); + var xApiSig = await BlazeRingHelper.GenerateXApiSigHeader(response + "02", accountInformation.owner, accountInformation.accountId); unlockStatus = "Requesting API Key..."; StateHasChanged(); Http.DefaultRequestHeaders.Remove("x-api-sig"); // remove x-api-sig if it exists already