Skip to content

Commit

Permalink
or empty
Browse files Browse the repository at this point in the history
  • Loading branch information
benny-conn committed Aug 24, 2023
1 parent 803e5aa commit 70cea00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/multichain/reservoir/reservoir.go
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ func (d *Provider) tokensWithOwnershipToAgnosticTokens(ctx context.Context, toke
ImageURL: persist.NullString(t.Token.Image),
},
})
if strings.EqualFold(t.Token.Collection.Name, t.Token.Contract.String()) {
if strings.EqualFold(t.Token.Collection.Name, t.Token.Contract.String()) || t.Token.Collection.Name == "" {
c, err := d.fetchCollection(ctx, t.Token.Contract, true)
if err == nil {
t.Token.Collection = c
Expand Down

0 comments on commit 70cea00

Please sign in to comment.