Commit bdc336e1 authored by Charles Bachmeier's avatar Charles Bachmeier Committed by GitHub

fix: successfully list ENS to x2y2 (#5482)

successfully list ENS to x2y2
Co-authored-by: default avatarCharles Bachmeier <charlie@genie.xyz>
parent 8f44adb0
...@@ -23,7 +23,6 @@ import { ...@@ -23,7 +23,6 @@ import {
} from '../queries' } from '../queries'
import { INVERSE_BASIS_POINTS, OPENSEA_DEFAULT_FEE, OPENSEA_FEE_ADDRESS } from '../queries/openSea' import { INVERSE_BASIS_POINTS, OPENSEA_DEFAULT_FEE, OPENSEA_FEE_ADDRESS } from '../queries/openSea'
import { ListingMarket, ListingStatus, WalletAsset } from '../types' import { ListingMarket, ListingStatus, WalletAsset } from '../types'
import { wrapScientificNotation } from './currency'
import { createSellOrder, encodeOrder, OfferItem, OrderPayload, signOrderData } from './x2y2' import { createSellOrder, encodeOrder, OfferItem, OrderPayload, signOrderData } from './x2y2'
export const LOOKS_RARE_CREATOR_BASIS_POINTS = 50 export const LOOKS_RARE_CREATOR_BASIS_POINTS = 50
...@@ -241,7 +240,7 @@ export async function signListing( ...@@ -241,7 +240,7 @@ export async function signListing(
tokens: [ tokens: [
{ {
token: asset.asset_contract.address, token: asset.asset_contract.address,
tokenId: BigNumber.from(wrapScientificNotation(asset.tokenId)), tokenId: BigNumber.from(asset.tokenId),
}, },
], ],
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment