Skip to content

Commit

Permalink
remove throw
Browse files Browse the repository at this point in the history
  • Loading branch information
RodriFS committed Sep 9, 2024
1 parent f386544 commit feefa7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Services/BitcoinService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ public async Task PerformWithdrawal(WalletWithdrawalRequest walletWithdrawalRequ
if (transactionCheckResult != TransactionCheckResult.Success)
{
_logger.LogError("Invalid tx check reason: {Reason}", transactionCheckResult.Humanize());
throw new InvalidOperationException($"Invalid tx check reason: {transactionCheckResult.Humanize()}");
}

var node = (await _nodeRepository.GetAllManagedByNodeGuard()).FirstOrDefault();
Expand Down Expand Up @@ -453,7 +452,7 @@ public async Task PerformWithdrawal(WalletWithdrawalRequest walletWithdrawalRequ
walletWithdrawalRequest.DestinationAddress,
CurrentNetworkHelper.GetCurrentNetwork()));

await _nbXplorerService.TrackAsync(trackedSourceAddress, new TrackWalletRequest{}, default);
await _nbXplorerService.TrackAsync(trackedSourceAddress, new TrackWalletRequest { }, default);
}
catch (Exception e)
{
Expand Down

0 comments on commit feefa7c

Please sign in to comment.