routing: embed TimedPairResult in snapshot data

This commit is contained in:
Joost Jager
2019-09-30 09:20:55 +02:00
parent 57911faa98
commit 3d8adaef95
2 changed files with 5 additions and 16 deletions

View File

@@ -478,7 +478,7 @@ func (s *Server) QueryMissionControl(ctx context.Context,
MinPenalizeAmtSat: int64(
pair.MinPenalizeAmt.ToSatoshis(),
),
LastAttemptSuccessful: pair.LastAttemptSuccessful,
LastAttemptSuccessful: pair.Success,
}
rpcPairs = append(rpcPairs, &rpcPair)