Skip to content

Commit

Permalink
Add asset-buyer hack
Browse files Browse the repository at this point in the history
  • Loading branch information
fragosti committed Nov 9, 2019
1 parent 595358f commit 3b1dca0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/asset-buyer/src/asset_buyer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ export class AssetBuyer {
const provider = providerUtils.standardizeOrThrow(supportedProvider);
assert.isWebUri('sraApiUrl', sraApiUrl);
const chainId = options.chainId || constants.DEFAULT_ASSET_BUYER_OPTS.chainId;
const orderProvider = new StandardRelayerAPIOrderProvider(sraApiUrl, chainId);
// HACK: asset-buy will be deleted, but do not pass in chainId to allow everything to compile.
const orderProvider = new StandardRelayerAPIOrderProvider(sraApiUrl);
const assetBuyer = new AssetBuyer(provider, orderProvider, options);
return assetBuyer;
}
Expand Down

0 comments on commit 3b1dca0

Please sign in to comment.