routing+routerrpc: also expose amt for success results in mc

This commit is contained in:
Joost Jager committed 2019-11-22 11:17:26 +01:00
1 parent 6f9fcfaccc
commit 62f8cca75b
9 files changed
+187 -166

No files matched your search

+3 -2
View File
@@ -35,7 +35,7 @@ func queryMissionControl(ctx *cli.Context) error {
NodeFrom, NodeTo string
LastAttemptSuccessful bool
Timestamp int64
MinPenalizeAmtSat int64
AmtSat, AmtMsat int64
}
displayResp := struct {
@@ -50,7 +50,8 @@ func queryMissionControl(ctx *cli.Context) error {
NodeTo: hex.EncodeToString(n.NodeTo),
LastAttemptSuccessful: n.History.LastAttemptSuccessful,
Timestamp: n.History.Timestamp,
MinPenalizeAmtSat: n.History.MinPenalizeAmtSat,
AmtMsat: n.History.AmtMsat,
AmtSat: n.History.AmtSat,
},
)
}