Skip to content

Commit

Permalink
for frontend: rename vanila to vanilla
Browse files Browse the repository at this point in the history
  • Loading branch information
Marketen committed Sep 5, 2023
1 parent 92a52c4 commit 71e1589
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oracle/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ type RawLeaf struct {

func (r *RewardType) String() string {
if *r == VanilaBlock {
return "vanila"
return "vanilla"
} else if *r == MevBlock {
return "mev"
} else if *r == UnknownRewardType {
Expand All @@ -237,7 +237,7 @@ func (s *RewardType) UnmarshalJSON(b []byte) error {
return errors.Wrap(err, "unmarshaling reward type")
}

if rewardtype == "vanila" {
if rewardtype == "vanilla" {
*s = VanilaBlock
} else if rewardtype == "mev" {
*s = MevBlock
Expand Down

0 comments on commit 71e1589

Please sign in to comment.