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:
3 files changed
+8
-8
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user