routing: export dbMPPayment interface

This will assist external programs attempting to re-use
ChannelRouter code and leverage the ControlTower's FetchPayment
method.
This commit is contained in:
Calvin Zachman committed 2024-08-27 19:00:58 -05:00
1 parent 1bf7ad9b43
commit 7547c234cc
3 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -109,7 +109,7 @@ const (
// decideNextStep is used to determine the next step in the payment lifecycle.
func (p *paymentLifecycle) decideNextStep(
payment dbMPPayment) (stateStep, error) {
payment DBMPPayment) (stateStep, error) {
// Check whether we could make new HTLC attempts.
allow, err := payment.AllowMoreAttempts()