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> {
14041404
14051405 if let Some ( payment) = self . payment_store . get ( & payment_hash) {
14061406 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." ) ;
14081408 return Err ( Error :: DuplicatePayment ) ;
14091409 }
14101410 }
@@ -1486,7 +1486,7 @@ impl<K: KVStore + Sync + Send + 'static> Node<K> {
14861486 let payment_hash = PaymentHash ( ( * invoice. payment_hash ( ) ) . into_inner ( ) ) ;
14871487 if let Some ( payment) = self . payment_store . get ( & payment_hash) {
14881488 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." ) ;
14901490 return Err ( Error :: DuplicatePayment ) ;
14911491 }
14921492 }
You can’t perform that action at this time.
0 commit comments