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 {
12991299
13001300 if let Some ( payment) = self . payment_store . get ( & payment_hash) {
13011301 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." ) ;
13031303 return Err ( Error :: DuplicatePayment ) ;
13041304 }
13051305 }
@@ -1381,7 +1381,7 @@ impl Node {
13811381 let payment_hash = PaymentHash ( ( * invoice. payment_hash ( ) ) . into_inner ( ) ) ;
13821382 if let Some ( payment) = self . payment_store . get ( & payment_hash) {
13831383 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." ) ;
13851385 return Err ( Error :: DuplicatePayment ) ;
13861386 }
13871387 }
You can’t perform that action at this time.
0 commit comments