More logical argument ordering
MODIFY
WalletWasabi.Tests/UnitTests/WabiSabi/Client/ArenaClientTests.cs
WalletWasabi.Tests/UnitTests/WabiSabi/Client/ArenaClientTests.cs
@@ -70,10 +70,10 @@ namespace WalletWasabi.Tests.UnitTests.WabiSabi.Client
var connectionConfirmationResponse1 = await aliceArenaClient.ConfirmConnectionAsync(
round.Id,
aliceId,
+ reissuanceAmounts,
inputRemainingVsizes,
inputRegistrationResponse.RealAmountCredentials,
inputRegistrationResponse.RealVsizeCredentials,
- reissuanceAmounts,
CancellationToken.None);
await arena.TriggerAndWaitRoundAsync(TimeSpan.FromMinutes(1));
@@ -83,10 +83,10 @@ namespace WalletWasabi.Tests.UnitTests.WabiSabi.Client
var connectionConfirmationResponse2 = await aliceArenaClient.ConfirmConnectionAsync(
round.Id,
aliceId,
+ reissuanceAmounts,
inputRemainingVsizes,
connectionConfirmationResponse1.RealAmountCredentials,
connectionConfirmationResponse1.RealVsizeCredentials,
- reissuanceAmounts,
CancellationToken.None);
await arena.TriggerAndWaitRoundAsync(TimeSpan.FromSeconds(1));

MODIFY
WalletWasabi/WabiSabi/Client/AliceClient.cs
WalletWasabi/WabiSabi/Client/AliceClient.cs
@@ -74,10 +74,10 @@ namespace WalletWasabi.WabiSabi.Client
.ConfirmConnectionAsync(
RoundId,
AliceId,
+ amountsToRequest,
inputRemainingVsizes,
RealAmountCredentials,
RealVsizeCredentials,
- amountsToRequest,
cancellationToken)
.ConfigureAwait(false);

MODIFY
WalletWasabi/WabiSabi/Client/ArenaClient.cs
WalletWasabi/WabiSabi/Client/ArenaClient.cs
@@ -162,10 +162,10 @@ namespace WalletWasabi.WabiSabi.Client
public async Task<ArenaResponse<bool>> ConfirmConnectionAsync(
uint256 roundId,
uint256 aliceId,
+ IEnumerable<Money> newAmount,
IEnumerable<long> inputsRegistrationVsize,
IEnumerable<Credential> amountCredentialsToPresent,
IEnumerable<Credential> vsizeCredentialsToPresent,
- IEnumerable<Money> newAmount,
CancellationToken cancellationToken)
{
Guard.InRange(nameof(newAmount), newAmount, 1, ProtocolConstants.CredentialNumber);

More logical argument ordering