lnwire: make custom type start a constant

This commit is contained in:
Carla Kirk-Cohen
2022-12-12 10:02:25 -05:00
parent cfc48bd81c
commit 610f5d2140

View File

@@ -8,7 +8,8 @@ import (
// CustomTypeStart is the start of the custom type range for peer messages as
// defined in BOLT 01.
var CustomTypeStart MessageType = 32768
const CustomTypeStart MessageType = 32768
// Custom represents an application-defined wire message.
type Custom struct {