Skip to content

Commit df0ab62

Browse files
committed
fix(genesis): remove ineffective json tag from embedded *big.Rat in GenesisRat
Signed-off-by: Akhil Repala <[email protected]>
1 parent 470e4e9 commit df0ab62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ledger/common/genesis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121

2222
// GenesisRat is a wrapper to big.Rat that allows for unmarshaling from a bare float from JSON
2323
type GenesisRat struct {
24-
*big.Rat `json:"string"`
24+
*big.Rat
2525
}
2626

2727
func (r *GenesisRat) UnmarshalJSON(data []byte) error {

0 commit comments

Comments
 (0)