Skip to content

Commit

Permalink
Merge pull request #604 from oasisprotocol/pro-wh/bugfix/biggerint
Browse files Browse the repository at this point in the history
storage: correct nft id type
  • Loading branch information
pro-wh authored Jan 16, 2024
2 parents 8570a58 + c5053ea commit f2dc8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/client/queries/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ const (
WHERE
chain.evm_nfts.runtime = $1::runtime AND
($2::oasis_addr IS NULL OR chain.evm_nfts.token_address = $2::oasis_addr) AND
($3::bigint IS NULL OR chain.evm_nfts.nft_id = $3::bigint) AND
($3::bigint IS NULL OR chain.evm_nfts.nft_id = $3::uint_numeric) AND
($4::oasis_addr IS NULL OR chain.evm_nfts.owner = $4::oasis_addr)
ORDER BY token_address, nft_id
LIMIT $5::bigint
Expand Down

0 comments on commit f2dc8d8

Please sign in to comment.