lnwire: add invalid onion blinding error code

This commit is contained in:
Carla Kirk-Cohen committed 2023-12-12 09:44:05 -05:00
1 parent 2fee3f6efa
commit fd8381bf2a
2 files changed
+53

No files matched your search

+1
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