From 21ad88d55ea15d8b1bb685cfe6fce2963579797f Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 3 Jan 2024 15:28:40 -0500 Subject: [PATCH] refactor: add NodeIdCode type --- encoding/nodeid.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/encoding/nodeid.go b/encoding/nodeid.go index 727eceb..db30639 100644 --- a/encoding/nodeid.go +++ b/encoding/nodeid.go @@ -12,6 +12,8 @@ var ( errorNotBase58BTC = errors.New("not a base58btc string") ) +type NodeIdCode = int + type NodeId struct { Bytes []byte }