aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-16 09:13:09 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-16 09:13:09 +0800
commit875f621f20431389131730536afe578a1060152a (patch)
tree41f6d68bb92b07042048a0a3c37c480421933c89
parentf2e5fd88469c9e3396197b42298d0b2de8a4d47c (diff)
downloaddexon-sol-tools-875f621f20431389131730536afe578a1060152a.tar
dexon-sol-tools-875f621f20431389131730536afe578a1060152a.tar.gz
dexon-sol-tools-875f621f20431389131730536afe578a1060152a.tar.bz2
dexon-sol-tools-875f621f20431389131730536afe578a1060152a.tar.lz
dexon-sol-tools-875f621f20431389131730536afe578a1060152a.tar.xz
dexon-sol-tools-875f621f20431389131730536afe578a1060152a.tar.zst
dexon-sol-tools-875f621f20431389131730536afe578a1060152a.zip
Remove expiry buffer seconds option from AssetBuyer init
-rw-r--r--packages/instant/src/util/asset_buyer.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/instant/src/util/asset_buyer.ts b/packages/instant/src/util/asset_buyer.ts
index b030501c4..27d66d600 100644
--- a/packages/instant/src/util/asset_buyer.ts
+++ b/packages/instant/src/util/asset_buyer.ts
@@ -6,6 +6,4 @@ import { getProvider } from './provider';
const provider = getProvider();
-export const assetBuyer = AssetBuyer.getAssetBuyerForStandardRelayerAPIUrl(provider, sraApiUrl, {
- expiryBufferSeconds: 300,
-});
+export const assetBuyer = AssetBuyer.getAssetBuyerForStandardRelayerAPIUrl(provider, sraApiUrl);