routerrpc: expose mission control reset rpc

This commit is contained in:
Joost Jager
2019-05-10 18:00:15 +02:00
parent 3db48dc53f
commit 68f2a04f42
7 changed files with 218 additions and 82 deletions

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.