Skip to content

Commit

Permalink
Check if verified dao has fungible id in zerion.
Browse files Browse the repository at this point in the history
  • Loading branch information
kazharski committed Jan 22, 2025
1 parent 5283427 commit cb74b7d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/dao/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,7 @@ func (s *Service) getFungibleId(strategies Strategies) string {
return ""
} else if l != nil && len(l.List) == 1 {
data := l.List[0]
if &data.Attributes != nil && &data.Attributes.MarketData != nil && &data.Attributes.MarketData.Price != nil {
return data.ID
}
return data.ID
}
}

Expand Down

0 comments on commit cb74b7d

Please sign in to comment.