lnwire: add invalid onion blinding error code

This commit is contained in:
Carla Kirk-Cohen
2023-10-12 09:52:55 -04:00
parent 2fee3f6efa
commit fd8381bf2a
2 changed files with 53 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ var onionFailures = []FailureMessage{
NewFinalIncorrectCltvExpiry(testCtlvExpiry),
NewFinalIncorrectHtlcAmount(testAmount),
NewInvalidOnionPayload(testType, testOffset),
NewInvalidBlinding(testOnionHash),
}
// TestEncodeDecodeCode tests the ability of onion errors to be properly encoded