Skip to content

Commit

Permalink
Update SmartWalletTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
0xFirekeeper committed Apr 10, 2024
1 parent 6b216e8 commit 5f31fcc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Assets/Tests/SmartWalletTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public IEnumerator CreateSessionKey_WithValidSignerCheck_Success()
yield return Connect_WithGaslessManagedAccountFactory_Success();

var task = ThirdwebManager.Instance.SDK.Wallet.CreateSessionKey(
signerAddress: "0x22b79AD6c6009525933ac2FF40bC9F30dF14Ecfb",
signerAddress: "0xA86F78b995a3899785FA1508eB1E62aEa501fc3c",
approvedTargets: new List<string>() { "0x450b943729Ddba196Ab58b589Cea545551DF71CC" },
nativeTokenLimitPerTransactionInWei: "0",
permissionStartTimestamp: "0",
Expand All @@ -88,7 +88,7 @@ public IEnumerator CreateSessionKey_WithValidSignerCheck_Success()
bool exists = false;
foreach (var signer in getAllActiveSignersTask.Result)
{
if (signer.signer == "0x22b79AD6c6009525933ac2FF40bC9F30dF14Ecfb")
if (signer.signer == "0xA86F78b995a3899785FA1508eB1E62aEa501fc3c")
{
exists = true;
break;
Expand Down Expand Up @@ -120,7 +120,7 @@ public IEnumerator RevokeSessionKey_WithValidSignerCheck_Success()
{
yield return CreateSessionKey_WithValidSignerCheck_Success();

var task = ThirdwebManager.Instance.SDK.Wallet.RevokeSessionKey(signerAddress: "0x22b79AD6c6009525933ac2FF40bC9F30dF14Ecfb");
var task = ThirdwebManager.Instance.SDK.Wallet.RevokeSessionKey(signerAddress: "0xA86F78b995a3899785FA1508eB1E62aEa501fc3c");
yield return new WaitUntil(() => task.IsCompleted);
Assert.IsTrue(task.IsCompletedSuccessfully);
Assert.IsNotNull(task.Result);
Expand All @@ -134,7 +134,7 @@ public IEnumerator RevokeSessionKey_WithValidSignerCheck_Success()
bool exists = false;
foreach (var signer in getAllActiveSignersTask.Result)
{
if (signer.signer == "0x22b79AD6c6009525933ac2FF40bC9F30dF14Ecfb")
if (signer.signer == "0xA86F78b995a3899785FA1508eB1E62aEa501fc3c")
{
exists = true;
break;
Expand Down

0 comments on commit 5f31fcc

Please sign in to comment.