aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/utils
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-11-28 05:53:21 +0800
committerGitHub <noreply@github.com>2017-11-28 05:53:21 +0800
commitcf0a8b2d0503f9d08ac789024d44b196613ecdc3 (patch)
tree75653154b85dd6df06da46af9411baf57c23367b /packages/0x.js/src/utils
parent37f0051d8380279a1a882cdc724e54fc09117901 (diff)
parent4a17f5e82074b01e74ae6982e82419a037eebdb4 (diff)
downloaddexon-sol-tools-cf0a8b2d0503f9d08ac789024d44b196613ecdc3.tar
dexon-sol-tools-cf0a8b2d0503f9d08ac789024d44b196613ecdc3.tar.gz
dexon-sol-tools-cf0a8b2d0503f9d08ac789024d44b196613ecdc3.tar.bz2
dexon-sol-tools-cf0a8b2d0503f9d08ac789024d44b196613ecdc3.tar.lz
dexon-sol-tools-cf0a8b2d0503f9d08ac789024d44b196613ecdc3.tar.xz
dexon-sol-tools-cf0a8b2d0503f9d08ac789024d44b196613ecdc3.tar.zst
dexon-sol-tools-cf0a8b2d0503f9d08ac789024d44b196613ecdc3.zip
Merge branch 'development' into feature/passNetworkId
Diffstat (limited to 'packages/0x.js/src/utils')
-rw-r--r--packages/0x.js/src/utils/exchange_transfer_simulator.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/src/utils/exchange_transfer_simulator.ts b/packages/0x.js/src/utils/exchange_transfer_simulator.ts
index 00a0efd3f..2574bd9ac 100644
--- a/packages/0x.js/src/utils/exchange_transfer_simulator.ts
+++ b/packages/0x.js/src/utils/exchange_transfer_simulator.ts
@@ -41,8 +41,8 @@ export class ExchangeTransferSimulator {
const errMsg = ERR_MSG_MAPPING[failureReason][tradeSide][transferType];
throw new Error(errMsg);
}
- constructor(token: TokenWrapper) {
- this.store = new BalanceAndProxyAllowanceLazyStore(token);
+ constructor(token: TokenWrapper, defaultBlock: BlockParamLiteral) {
+ this.store = new BalanceAndProxyAllowanceLazyStore(token, defaultBlock);
this.UNLIMITED_ALLOWANCE_IN_BASE_UNITS = token.UNLIMITED_ALLOWANCE_IN_BASE_UNITS;
}
/**