Skip to content

Commit b8deebc

Browse files
committed
f s/get paid/be paid/
1 parent be7cb4f commit b8deebc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)