Skip to content

Commit

Permalink
fix[avas]:aval max supply
Browse files Browse the repository at this point in the history
  • Loading branch information
fishTsai20 committed Jan 24, 2024
1 parent 787b107 commit 47287a6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions handlers/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,11 @@ func deployToken(asc20 *model.Asc20, params map[string]string) (int8, error) {
}

if asc20.Tick == "aval" {
max, _, err2 = model.NewDecimalFromString("2100000000000000")
if err2 != nil {
return -14, nil
}
asc20.Max = max
limit, _, err2 = model.NewDecimalFromString("100000000")
if err2 != nil {
return -14, nil
Expand Down

0 comments on commit 47287a6

Please sign in to comment.