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 @@ -1299,7 +1299,7 @@ impl Node {
1299
1299
1300
1300
if let Some ( payment) = self . payment_store . get ( & payment_hash) {
1301
1301
if payment. status != PaymentStatus :: SendingFailed {
1302
- log_error ! ( self . logger, "Payment error: an invoice must not get paid twice." ) ;
1302
+ log_error ! ( self . logger, "Payment error: an invoice must not be paid twice." ) ;
1303
1303
return Err ( Error :: DuplicatePayment ) ;
1304
1304
}
1305
1305
}
@@ -1381,7 +1381,7 @@ impl Node {
1381
1381
let payment_hash = PaymentHash ( ( * invoice. payment_hash ( ) ) . into_inner ( ) ) ;
1382
1382
if let Some ( payment) = self . payment_store . get ( & payment_hash) {
1383
1383
if payment. status != PaymentStatus :: SendingFailed {
1384
- log_error ! ( self . logger, "Payment error: an invoice must not get paid twice." ) ;
1384
+ log_error ! ( self . logger, "Payment error: an invoice must not be paid twice." ) ;
1385
1385
return Err ( Error :: DuplicatePayment ) ;
1386
1386
}
1387
1387
}
You can’t perform that action at this time.
0 commit comments