File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1404,7 +1404,7 @@ impl<K: KVStore + Sync + Send + 'static> Node<K> {
1404
1404
1405
1405
if let Some ( payment) = self . payment_store . get ( & payment_hash) {
1406
1406
if payment. status != PaymentStatus :: SendingFailed {
1407
- log_error ! ( self . logger, "Payment error: an invoice must not get paid twice." ) ;
1407
+ log_error ! ( self . logger, "Payment error: an invoice must not be paid twice." ) ;
1408
1408
return Err ( Error :: DuplicatePayment ) ;
1409
1409
}
1410
1410
}
@@ -1486,7 +1486,7 @@ impl<K: KVStore + Sync + Send + 'static> Node<K> {
1486
1486
let payment_hash = PaymentHash ( ( * invoice. payment_hash ( ) ) . into_inner ( ) ) ;
1487
1487
if let Some ( payment) = self . payment_store . get ( & payment_hash) {
1488
1488
if payment. status != PaymentStatus :: SendingFailed {
1489
- log_error ! ( self . logger, "Payment error: an invoice must not get paid twice." ) ;
1489
+ log_error ! ( self . logger, "Payment error: an invoice must not be paid twice." ) ;
1490
1490
return Err ( Error :: DuplicatePayment ) ;
1491
1491
}
1492
1492
}
You can’t perform that action at this time.
0 commit comments