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 committed 2020-04-02 10:24:35 +02:00
1 parent 4509c4f3a9
commit 49efbefb43
4 files changed
+9 -35

No files matched your search

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