Skip to content

Commit

Permalink
Update config.go
Browse files Browse the repository at this point in the history
  • Loading branch information
temaniarpit27 authored Oct 9, 2023
1 parent ee0907a commit 5af7192
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -798,10 +798,6 @@ func (c *BorConfig) CalculateBurntContract(number uint64) string {
valUint, _ := strconv.ParseUint(keys[i], 10, 64)
valUintNext, _ := strconv.ParseUint(keys[i+1], 10, 64)

if i == 0 && number <= valUint {
return c.BurntContract[keys[i]]
}

if number >= valUint && number < valUintNext {
return c.BurntContract[keys[i]]
}
Expand Down

0 comments on commit 5af7192

Please sign in to comment.