From 610f5d2140a10e5b0c538f7b5958c4366bf309c2 Mon Sep 17 00:00:00 2001 From: Carla Kirk-Cohen Date: Mon, 12 Dec 2022 10:02:25 -0500 Subject: [PATCH] lnwire: make custom type start a constant --- lnwire/custom.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lnwire/custom.go b/lnwire/custom.go index f012b8aec..c995d1171 100644 --- a/lnwire/custom.go +++ b/lnwire/custom.go @@ -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 {