Fix flaky test (#2392)

This commit is contained in:
Nicolas Dorier
2021-03-24 21:33:49 +09:00
committed by GitHub
parent ceb541ad8a
commit fd53f7476e
3 changed files with 42 additions and 29 deletions

View File

@@ -286,7 +286,7 @@ namespace BTCPayServer.Controllers.GreenField
{
address = BitcoinAddress.Create(destination.Destination, network.NBitcoinNetwork).ToString();
}
catch (Exception e)
catch (Exception)
{
request.AddModelError(transactionRequest => transactionRequest.Destinations[index],
"Destination must be a BIP21 payment link or an address", this);