You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//In case it exists we add the native token to the list and run a query to get the user balance of the token.
157
159
if(getNetworkData!=null)
@@ -176,7 +178,7 @@ public async Task<List<Token>> GetNetworkTokens(int networkId)
176
178
}
177
179
178
180
//Gets the list of officially supported tokens on the selected network, as it binds user balance, market cap, price, and circulating supply for each token.
//Defer next check, it will be validated after the next block regardless.
50
52
vardateTime=DateTime.UtcNow.AddSeconds(30);
@@ -55,12 +57,12 @@ public async Task<TransactionResult> BeginTransaction()
55
57
//If time is over the check time validate if the transaction is validated
56
58
if(DateTime.UtcNow>dateTime)
57
59
{
58
-
awaitValidateTransaction(MauiProgram.TxHash);
60
+
awaitValidateTransaction(Communication.TxHash);
59
61
dateTime=DateTime.UtcNow.AddSeconds(30);
60
62
}
61
63
62
64
}
63
-
MauiProgram.ClearCredentials();
65
+
Communication.ClearCredentials();
64
66
returnTransactionResult;
65
67
}
66
68
@@ -69,7 +71,7 @@ public async Task<bool> ValidateTransaction(string txHash)
69
71
{
70
72
//We don't need a real wallet here, Pass is empty however due to how Nethereum operates we need to make the request from the object, so we can inherit the chain
71
73
//That's why we just instance a object to interact with the chain.
0 commit comments