diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-10-10 09:15:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-10 09:15:33 +0800 |
commit | afb34da72978b5272cfb5a235498e483c72556bc (patch) | |
tree | fce86678fa990f238aa54860c5470ebd75cf4a53 /packages/asset-buyer/src/constants.ts | |
parent | 402089db4e1776c826119ed3555c05f61c198953 (diff) | |
parent | 8155d311af04339c105f1a29b74f1ddbced85197 (diff) | |
download | dexon-sol-tools-afb34da72978b5272cfb5a235498e483c72556bc.tar dexon-sol-tools-afb34da72978b5272cfb5a235498e483c72556bc.tar.gz dexon-sol-tools-afb34da72978b5272cfb5a235498e483c72556bc.tar.bz2 dexon-sol-tools-afb34da72978b5272cfb5a235498e483c72556bc.tar.lz dexon-sol-tools-afb34da72978b5272cfb5a235498e483c72556bc.tar.xz dexon-sol-tools-afb34da72978b5272cfb5a235498e483c72556bc.tar.zst dexon-sol-tools-afb34da72978b5272cfb5a235498e483c72556bc.zip |
Merge pull request #1116 from 0xProject/feature/asset-buyer/api-tweaks
[asset-buyer] Fix order expiration calc bug and expose gas options to executeBuyQuote
Diffstat (limited to 'packages/asset-buyer/src/constants.ts')
-rw-r--r-- | packages/asset-buyer/src/constants.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/asset-buyer/src/constants.ts b/packages/asset-buyer/src/constants.ts index e1056e39b..e095dee06 100644 --- a/packages/asset-buyer/src/constants.ts +++ b/packages/asset-buyer/src/constants.ts @@ -8,7 +8,7 @@ const MAINNET_NETWORK_ID = 1; const DEFAULT_ASSET_BUYER_OPTS: AssetBuyerOpts = { networkId: MAINNET_NETWORK_ID, orderRefreshIntervalMs: 10000, // 10 seconds - expiryBufferSeconds: 15, + expiryBufferSeconds: 300, // 5 minutes }; const DEFAULT_BUY_QUOTE_REQUEST_OPTS: BuyQuoteRequestOpts = { |