multi: rename FailUnknownPaymentHash to FailIncorrectDetails

Align naming better with the lightning spec. Not the full name of the
failure (FailIncorrectOrUnknownPaymentDetails) is used, because this
would cause too many long lines in the code.
This commit is contained in:
Joost Jager
2019-06-12 11:35:54 +02:00
parent 8681729561
commit aabd68ebcd
11 changed files with 219 additions and 214 deletions

View File

@ -59,7 +59,7 @@ func TestMissionControlStore(t *testing.T) {
result1 := paymentResult{
route: &testRoute,
failure: lnwire.NewFailUnknownPaymentHash(100),
failure: lnwire.NewFailIncorrectDetails(100),
failureSourceIdx: &failureSourceIdx,
id: 99,
timeReply: testTime,