multi: rename Payment.PaymentPreimage to Payment.Preimage
Preliminary step to exposing PaymentPreimage() as a method that can be shared between legacy payments and mutli-path payments.
This commit is contained in:
3 files changed
+11
-11
No files matched your search
@@ -214,7 +214,7 @@ func (p *controlTower) SubscribePayment(paymentHash lntypes.Hash) (
|
||||
// immediately.
|
||||
case channeldb.StatusSucceeded:
|
||||
event = *createSuccessResult(
|
||||
&payment.Attempt.Route, *payment.PaymentPreimage,
|
||||
&payment.Attempt.Route, *payment.Preimage,
|
||||
)
|
||||
|
||||
// Payment already failed. It is not necessary to register as a
|
||||
|
||||
Reference in new issue
Block a user