Pass 'latest' to ExchangeTransferSimulator when used for validating orders, and pass 'pending' when used in the order watcher.

This commit is contained in:
Fabio Berger
2017-11-23 15:21:45 -06:00
parent 5068f1666a
commit b7b1721145
8 changed files with 24 additions and 19 deletions

View File

@@ -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;