routerrpc: expose mission control reset rpc

This commit is contained in:
Joost Jager committed 2019-06-04 10:00:17 +02:00
1 parent 3db48dc53f
commit 68f2a04f42
7 files changed
+218 -82

No files matched your search

+3 -1
View File
@@ -1598,7 +1598,9 @@ type LightningPayment struct {
// will be returned which describes the path the successful payment traversed
// within the network to reach the destination. Additionally, the payment
// preimage will also be returned.
func (r *ChannelRouter) SendPayment(payment *LightningPayment) ([32]byte, *route.Route, error) {
func (r *ChannelRouter) SendPayment(payment *LightningPayment) ([32]byte,
*route.Route, error) {
// Before starting the HTLC routing attempt, we'll create a fresh
// payment session which will report our errors back to mission
// control.