Skip to content

Commit

Permalink
bugfix HwiClient.SendCommandAsync() recursive call
Browse files Browse the repository at this point in the history
  • Loading branch information
Bitcoin Eagle committed Oct 9, 2020
1 parent dc22fe3 commit 5aae4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WalletWasabi/Hwi/HwiClient.cs
Expand Up @@ -79,7 +79,7 @@ private async Task<string> SendCommandAsync(IEnumerable<HwiOption> options, HwiC

// Build options without fingerprint with device model and device path.
var newOptions = BuildOptions(firstNoFingerprintEntry.Model, firstNoFingerprintEntry.Path, fingerprint: null, options.Where(x => x.Type != HwiOptions.Fingerprint).ToArray());
return await SendCommandAsync(newOptions, command, arguments, openConsole, cancel, isRecursion: true);
return await SendCommandAsync(newOptions, command, commandArguments, openConsole, cancel, isRecursion: true);
}
catch (HwiException ex) when (Network != Network.Main && ex.ErrorCode == HwiErrorCode.UnknownError && ex.Message?.Contains("DataError: Forbidden key path") is true)
{
Expand Down

0 comments on commit 5aae4e5

Please sign in to comment.