Skip to content

Commit

Permalink
fix(algod): fix WaitForConfirmation not respecting cancellationToken
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonboukheir committed Nov 26, 2022
1 parent 84a0933 commit d0b76cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Runtime/Algorand.Unity/NodeServices/Algod/AlgodClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public AlgoApiRequest.Sent<PostTransactionsResponse> SendTransaction<T>(SignedTx
return txnInfoResponse;
}

await WaitForBlock(currentRound);
await WaitForBlock(currentRound).WithCancellation(cancellationToken);
currentRound++;
}

Expand Down
2 changes: 0 additions & 2 deletions Tests/Runtime/Algorand.Unity.Crypto.Tests/Ed25519Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
using NUnit.Framework;
using Unity.Collections;
using static Algorand.Unity.Crypto.Ed25519;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Crypto.Signers;

public class Ed25519Test
{
Expand Down

0 comments on commit d0b76cd

Please sign in to comment.