diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-24 05:21:45 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-24 05:21:45 +0800 |
commit | b7b1721145f3894ade757a2ad4c366e2b6eadbe9 (patch) | |
tree | 0b724c1eb0c218a482a5b31b7438f67c33af61e3 /packages/0x.js/test/exchange_wrapper_test.ts | |
parent | 5068f1666a9d1dec2140f2a98e96bb880e854105 (diff) | |
download | dexon-0x-contracts-b7b1721145f3894ade757a2ad4c366e2b6eadbe9.tar.gz dexon-0x-contracts-b7b1721145f3894ade757a2ad4c366e2b6eadbe9.tar.zst dexon-0x-contracts-b7b1721145f3894ade757a2ad4c366e2b6eadbe9.zip |
Pass 'latest' to ExchangeTransferSimulator when used for validating orders, and pass 'pending' when used in the order watcher.
Diffstat (limited to 'packages/0x.js/test/exchange_wrapper_test.ts')
-rw-r--r-- | packages/0x.js/test/exchange_wrapper_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/test/exchange_wrapper_test.ts b/packages/0x.js/test/exchange_wrapper_test.ts index add89a3b2..b5fa47f8b 100644 --- a/packages/0x.js/test/exchange_wrapper_test.ts +++ b/packages/0x.js/test/exchange_wrapper_test.ts @@ -754,7 +754,7 @@ describe('ExchangeWrapper', () => { const fillableAmount = new BigNumber(5); const shouldThrowOnInsufficientBalanceOrAllowance = true; const subscriptionOpts: SubscriptionOpts = { - fromBlock: BlockParamLiteral.Earliest, + fromBlock: 0, toBlock: BlockParamLiteral.Latest, }; let txHash: string; |