Skip to content

Commit f758713

Browse files
committed
f s/get paid/be paid/
1 parent 7498259 commit f758713

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
@@ -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
}

0 commit comments

Comments
 (0)