Skip to content

Commit 33ad04d

Browse files
docs: add vertex header id comment regarding hathor core
1 parent 930aa10 commit 33ad04d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/headers/types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8+
/**
9+
* The hathor-core has a similar enum that maps to bytes.
10+
* In typescript this is not easy to manipulate so I decided
11+
* to have the same enum but with hex values instead.
12+
*/
813
export enum VertexHeaderId {
914
NANO_HEADER = '10',
1015
}

0 commit comments

Comments
 (0)