routing/payment_session: remove prebuilt payment session

Since we no longer use payment sessions for send to route, we remove the
prebuilt one.
This commit is contained in:
Johan T. Halseth
2020-04-01 00:13:25 +02:00
parent 4509c4f3a9
commit 49efbefb43
4 changed files with 9 additions and 35 deletions

View File

@ -391,7 +391,7 @@ func errorToPaymentFailure(err error) channeldb.FailureReason {
errNoTlvPayload,
errNoPaymentAddr,
errNoPathFound,
errPrebuiltRouteTried:
errEmptyPaySession:
return channeldb.FailureReasonNoRoute