lnrpc: receive custom message

This commit is contained in:
Joost Jager
2021-05-31 12:06:48 +02:00
parent ae959b16ae
commit ade50d0b2c
16 changed files with 4406 additions and 3836 deletions

View File

@@ -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")