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

@ -45,7 +45,7 @@ func genInfo() (*PaymentCreationInfo, *HTLCAttemptInfo,
},
&HTLCAttemptInfo{
AttemptID: 0,
SessionKey: priv,
sessionKey: priv,
Route: *testRoute.Copy(),
}, preimage, nil
}