Skip to content

Commit

Permalink
fix: json tag name changed to genesistime
Browse files Browse the repository at this point in the history
  • Loading branch information
kehiy committed Aug 20, 2023
1 parent df6bca4 commit 51acfda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genesis/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type Genesis struct {
}

type genesisData struct {
GenesisTime time.Time `cbor:"1,keyasint" json:"genesis_time"`
GenesisTime time.Time `cbor:"1,keyasint" json:"genesistime"`
Params param.Params `cbor:"2,keyasint" json:"params"`
Accounts []genAccount `cbor:"3,keyasint" json:"accounts"`
Validators []genValidator `cbor:"4,keyasint" json:"validators"`
Expand Down

0 comments on commit 51acfda

Please sign in to comment.