File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ func GetEraById(eraId uint8) *Era {
5858 return & era
5959}
6060
61- // BlockHeaderToBlockTypeMap is a mapping of NtC chainsync block header types
62- // to NtN block types (era ID)
61+ // BlockHeaderToBlockTypeMap is a mapping of NtN chainsync block header types
62+ // (era ID) to NtC block types
6363var BlockHeaderToBlockTypeMap = map [uint ]uint {
6464 BlockHeaderTypeShelley : BlockTypeShelley ,
6565 BlockHeaderTypeAllegra : BlockTypeAllegra ,
@@ -69,8 +69,8 @@ var BlockHeaderToBlockTypeMap = map[uint]uint{
6969 BlockHeaderTypeConway : BlockTypeConway ,
7070}
7171
72- // BlockToBlockHeaderTypeMap is a mapping of NtN chainsync block types (era ID)
73- // to NtC block header types
72+ // BlockToBlockHeaderTypeMap is a mapping of NtC chainsync block types
73+ // to NtN block header types (era ID)
7474var BlockToBlockHeaderTypeMap = map [uint ]uint {
7575 BlockTypeShelley : BlockHeaderTypeShelley ,
7676 BlockTypeAllegra : BlockHeaderTypeAllegra ,
You can’t perform that action at this time.
0 commit comments