Skip to content

Commit

Permalink
fix: price to send + contract tolower
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosantangelo committed Jul 31, 2020
1 parent 13d1281 commit cb8d110
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions webapp/src/modules/vendor/makers_place/ContractService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ const network = process.env.REACT_APP_NETWORK! as Network
const contractAddresses = {
[Network.ROPSTEN]: {
DigitalMediaCore: '0x2a46f2ffd99e19a89476e2f62270e0a35bbf0756',
DigitalMediaCore2: '0x2d9E5de7D36f3830c010a28B29B3BDf5cA73198e',
DigitalMediaCore2: '0x2d9e5de7d36f3830c010a28b29b3bdf5ca73198e',
MarketplaceAdapter: '0xd1e4e2880ff56cd0d5c68da9bed58bfbf0150948'
},
[Network.MAINNET]: {
DigitalMediaCore: '0x2a46f2ffd99e19a89476e2f62270e0a35bbf0756',
DigitalMediaCore2: '0x2d9E5de7D36f3830c010a28B29B3BDf5cA73198e',
DigitalMediaCore2: '0x2d9e5de7d36f3830c010a28b29b3bdf5ca73198e',
MarketplaceAdapter: '0xf4fbd84193f9aaf9779dedbb415a806933eb1c95'
}
}[network]
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/modules/vendor/makers_place/NFTService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export class NFTService implements NFTServiceInterface {
owner: asset.owner,
buyer: null,
price: price.toString(10),
ethPrice: totalWei.toString(),
ethPrice: asset.price_in_wei!.toString(),
status: OrderStatus.OPEN,
createdAt: asset.sale_created_at!,
updatedAt: asset.sale_created_at!
Expand Down

0 comments on commit cb8d110

Please sign in to comment.