channeldb: fix typo in PaymentControl.Fail

This commit is contained in:
Olaoluwa Osuntokun 2021-07-06 18:41:38 -07:00
parent 525ef594c7
commit 079ab1c2bf
No known key found for this signature in database
GPG Key ID: 3BBD59E99B280306

@ -503,7 +503,7 @@ func (p *PaymentControl) Fail(paymentHash lntypes.Hash,
return err
}
// We mark the payent as failed as long as it is known. This
// We mark the payment as failed as long as it is known. This
// lets the last attempt to fail with a terminal write its
// failure to the PaymentControl without synchronizing with
// other attempts.