multi: unexport session key and add constructor for htlc attempt info

This commit is contained in:
carla
2021-05-19 09:03:46 +02:00
parent 6c330d3121
commit eb068bf666
7 changed files with 35 additions and 24 deletions

View File

@@ -181,7 +181,7 @@ func fetchDuplicatePayment(bucket kvdb.RBucket) (*MPPayment, error) {
HTLCAttemptInfo: HTLCAttemptInfo{
AttemptID: attempt.attemptID,
Route: attempt.route,
SessionKey: attempt.sessionKey,
sessionKey: attempt.sessionKey,
},
}