lnwire: make custom type start a constant
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -8,7 +8,8 @@ import (
|
|||||||
|
|
||||||
// CustomTypeStart is the start of the custom type range for peer messages as
|
// CustomTypeStart is the start of the custom type range for peer messages as
|
||||||
// defined in BOLT 01.
|
// defined in BOLT 01.
|
||||||
var CustomTypeStart MessageType = 32768
|
const CustomTypeStart MessageType = 32768
|
||||||
|
|
||||||
|
|
||||||
// Custom represents an application-defined wire message.
|
// Custom represents an application-defined wire message.
|
||||||
type Custom struct {
|
type Custom struct {
|
||||||
|
|||||||
Reference in new issue
Block a user