aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-10 07:19:16 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-10 07:19:16 +0800
commitacb7e876b20f89cf5e1df614cb81de38a66fa6b1 (patch)
tree9b08f41cd618b22bab3804627e0d1a4f8d50b5d7
parentcc8debe53b9a6efc75b91f1b6c47f0820c3beb8c (diff)
downloaddexon-sol-tools-acb7e876b20f89cf5e1df614cb81de38a66fa6b1.tar
dexon-sol-tools-acb7e876b20f89cf5e1df614cb81de38a66fa6b1.tar.gz
dexon-sol-tools-acb7e876b20f89cf5e1df614cb81de38a66fa6b1.tar.bz2
dexon-sol-tools-acb7e876b20f89cf5e1df614cb81de38a66fa6b1.tar.lz
dexon-sol-tools-acb7e876b20f89cf5e1df614cb81de38a66fa6b1.tar.xz
dexon-sol-tools-acb7e876b20f89cf5e1df614cb81de38a66fa6b1.tar.zst
dexon-sol-tools-acb7e876b20f89cf5e1df614cb81de38a66fa6b1.zip
Update account more frequently
-rw-r--r--packages/instant/src/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/constants.ts b/packages/instant/src/constants.ts
index 37320e21d..6bfbc690e 100644
--- a/packages/instant/src/constants.ts
+++ b/packages/instant/src/constants.ts
@@ -11,7 +11,7 @@ export const WEB_3_WRAPPER_TRANSACTION_FAILED_ERROR_MSG_PREFIX = 'Transaction fa
export const GWEI_IN_WEI = new BigNumber(1000000000);
export const ONE_SECOND_MS = 1000;
export const ONE_MINUTE_MS = ONE_SECOND_MS * 60;
-export const ACCOUNT_UPDATE_INTERVAL_TIME_MS = ONE_SECOND_MS * 15;
+export const ACCOUNT_UPDATE_INTERVAL_TIME_MS = ONE_SECOND_MS * 5;
export const BUY_QUOTE_UPDATE_INTERVAL_TIME_MS = ONE_SECOND_MS * 15;
export const DEFAULT_GAS_PRICE = GWEI_IN_WEI.mul(6);
export const DEFAULT_ESTIMATED_TRANSACTION_TIME_MS = ONE_MINUTE_MS * 2;