mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 23:53:41 +02:00
lnrpc: receive custom message
This commit is contained in:
@@ -240,7 +240,7 @@ func TestMaxOutPointIndex(t *testing.T) {
|
||||
func TestEmptyMessageUnknownType(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
fakeType := MessageType(math.MaxUint16)
|
||||
fakeType := CustomTypeStart - 1
|
||||
if _, err := makeEmptyMessage(fakeType); err == nil {
|
||||
t.Fatalf("should not be able to make an empty message of an " +
|
||||
"unknown type")
|
||||
|
Reference in New Issue
Block a user