refactor: add NodeIdCode type
This commit is contained in:
parent
989cb82a01
commit
21ad88d55e
|
@ -12,6 +12,8 @@ var (
|
||||||
errorNotBase58BTC = errors.New("not a base58btc string")
|
errorNotBase58BTC = errors.New("not a base58btc string")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type NodeIdCode = int
|
||||||
|
|
||||||
type NodeId struct {
|
type NodeId struct {
|
||||||
Bytes []byte
|
Bytes []byte
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue