mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-27 14:06:39 +02:00
routerrpc: create pair data proto message
With a separate proto message, it becomes possible to also return the pair data for a single pair. This prepares for the new mc probability querying rpc.
This commit is contained in:
@@ -48,9 +48,9 @@ func queryMissionControl(ctx *cli.Context) error {
|
||||
displayPairHistory{
|
||||
NodeFrom: hex.EncodeToString(n.NodeFrom),
|
||||
NodeTo: hex.EncodeToString(n.NodeTo),
|
||||
LastAttemptSuccessful: n.LastAttemptSuccessful,
|
||||
Timestamp: n.Timestamp,
|
||||
MinPenalizeAmtSat: n.MinPenalizeAmtSat,
|
||||
LastAttemptSuccessful: n.History.LastAttemptSuccessful,
|
||||
Timestamp: n.History.Timestamp,
|
||||
MinPenalizeAmtSat: n.History.MinPenalizeAmtSat,
|
||||
},
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user