aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src
diff options
context:
space:
mode:
authorAra Kevonian <ara@dextroid.io>2018-04-17 21:51:26 +0800
committerAra Kevonian <ara@dextroid.io>2018-04-17 21:51:26 +0800
commit8fc1b38ff20cf1b528070ecc824b4696d93a2e0f (patch)
tree0f97333b1686388eaf2a2c0a016b32a7db170f6f /packages/0x.js/src
parent7d957538b46bbc9cd757d5b9a0351bf27e4e5419 (diff)
downloaddexon-sol-tools-8fc1b38ff20cf1b528070ecc824b4696d93a2e0f.tar
dexon-sol-tools-8fc1b38ff20cf1b528070ecc824b4696d93a2e0f.tar.gz
dexon-sol-tools-8fc1b38ff20cf1b528070ecc824b4696d93a2e0f.tar.bz2
dexon-sol-tools-8fc1b38ff20cf1b528070ecc824b4696d93a2e0f.tar.lz
dexon-sol-tools-8fc1b38ff20cf1b528070ecc824b4696d93a2e0f.tar.xz
dexon-sol-tools-8fc1b38ff20cf1b528070ecc824b4696d93a2e0f.tar.zst
dexon-sol-tools-8fc1b38ff20cf1b528070ecc824b4696d93a2e0f.zip
Use this.defaultBlock in OrderFilledCancelledLazyStore
Diffstat (limited to 'packages/0x.js/src')
-rw-r--r--packages/0x.js/src/stores/order_filled_cancelled_lazy_store.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/src/stores/order_filled_cancelled_lazy_store.ts b/packages/0x.js/src/stores/order_filled_cancelled_lazy_store.ts
index eebc2b52c..7f3da6e1d 100644
--- a/packages/0x.js/src/stores/order_filled_cancelled_lazy_store.ts
+++ b/packages/0x.js/src/stores/order_filled_cancelled_lazy_store.ts
@@ -26,7 +26,7 @@ export class OrderFilledCancelledLazyStore implements OrderFilledCancelledFetche
public async getFilledTakerAmountAsync(orderHash: string): Promise<BigNumber> {
if (_.isUndefined(this._filledTakerAmount[orderHash])) {
const methodOpts = {
- defaultBlock: BlockParamLiteral.Pending,
+ defaultBlock: this._defaultBlock,
};
const filledTakerAmount = await this._exchangeWrapper.getFilledTakerAmountAsync(orderHash, methodOpts);
this.setFilledTakerAmount(orderHash, filledTakerAmount);
@@ -43,7 +43,7 @@ export class OrderFilledCancelledLazyStore implements OrderFilledCancelledFetche
public async getCancelledTakerAmountAsync(orderHash: string): Promise<BigNumber> {
if (_.isUndefined(this._cancelledTakerAmount[orderHash])) {
const methodOpts = {
- defaultBlock: BlockParamLiteral.Pending,
+ defaultBlock: this._defaultBlock,
};
const cancelledTakerAmount = await this._exchangeWrapper.getCancelledTakerAmountAsync(orderHash, methodOpts);
this.setCancelledTakerAmount(orderHash, cancelledTakerAmount);