diff --git a/Thirdweb.Tests/Thirdweb.Utils/Thirdweb.Utils.Tests.cs b/Thirdweb.Tests/Thirdweb.Utils/Thirdweb.Utils.Tests.cs index f61a9613..4bff4092 100644 --- a/Thirdweb.Tests/Thirdweb.Utils/Thirdweb.Utils.Tests.cs +++ b/Thirdweb.Tests/Thirdweb.Utils/Thirdweb.Utils.Tests.cs @@ -679,14 +679,14 @@ public async Task IsEip155Enforced_ReturnsFalse_WhenChainIs1() Assert.False(isEip155Enforced); } - [Fact(Timeout = 120000)] - public async Task IsEip155Enforced_ReturnsTrue_WhenChainIs842() - { - var chainId = new BigInteger(842); - var isEip155Enforced = await Utils.IsEip155Enforced(this.Client, chainId); - - Assert.True(isEip155Enforced); - } + // [Fact(Timeout = 120000)] + // public async Task IsEip155Enforced_ReturnsTrue_WhenChainIs842() + // { + // var chainId = new BigInteger(842); + // var isEip155Enforced = await Utils.IsEip155Enforced(this.Client, chainId); + + // Assert.True(isEip155Enforced); + // } [Fact(Timeout = 120000)] public void ReconstructHttpClient_WithHeaders() diff --git a/Thirdweb/Thirdweb.Wallets/InAppWallet/EmbeddedWallet/EmbeddedWallet.Misc.cs b/Thirdweb/Thirdweb.Wallets/InAppWallet/EmbeddedWallet/EmbeddedWallet.Misc.cs index ac230732..da16e79c 100644 --- a/Thirdweb/Thirdweb.Wallets/InAppWallet/EmbeddedWallet/EmbeddedWallet.Misc.cs +++ b/Thirdweb/Thirdweb.Wallets/InAppWallet/EmbeddedWallet/EmbeddedWallet.Misc.cs @@ -54,6 +54,10 @@ public async Task SignOutAsync() } var privateKey = account.PrivateKey; + if (privateKey.Length == 64) + { + privateKey = privateKey.Insert(2, "00"); + } var utf8WithoutBom = new System.Text.UTF8Encoding(encoderShouldEmitUTF8Identifier: true); var privateKeyBytes = utf8WithoutBom.GetBytes(privateKey);