From b28a547dc4c8aafb236f56abf04cd5ca027badf1 Mon Sep 17 00:00:00 2001 From: Steven Horn Date: Tue, 15 Jan 2019 12:21:31 +0000 Subject: [PATCH] Grammatical corrections in exception messages Fixed a few grammatical errors in LightningLikePaymentHandler. --- .../Payments/Lightning/LightningLikePaymentHandler.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BTCPayServer/Payments/Lightning/LightningLikePaymentHandler.cs b/BTCPayServer/Payments/Lightning/LightningLikePaymentHandler.cs index e11be11cc..e8a59c3e5 100644 --- a/BTCPayServer/Payments/Lightning/LightningLikePaymentHandler.cs +++ b/BTCPayServer/Payments/Lightning/LightningLikePaymentHandler.cs @@ -47,7 +47,7 @@ namespace BTCPayServer.Payments.Lightning } catch (OperationCanceledException) when (cts.IsCancellationRequested) { - throw new PaymentMethodUnavailableException($"The lightning node did not replied in a timely maner"); + throw new PaymentMethodUnavailableException($"The lightning node did not reply in a timely maner"); } catch (Exception ex) { @@ -78,7 +78,7 @@ namespace BTCPayServer.Payments.Lightning } catch (OperationCanceledException) when (cts.IsCancellationRequested) { - throw new PaymentMethodUnavailableException($"The lightning node did not replied in a timely manner"); + throw new PaymentMethodUnavailableException($"The lightning node did not reply in a timely manner"); } catch (Exception ex) { @@ -115,7 +115,7 @@ namespace BTCPayServer.Payments.Lightning } if (address == null) - throw new PaymentMethodUnavailableException($"DNS did not resolved {nodeInfo.Host}"); + throw new PaymentMethodUnavailableException($"DNS did not resolve {nodeInfo.Host}"); using (var tcp = new Socket(address.AddressFamily, SocketType.Stream, ProtocolType.Tcp)) {