aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2017-11-16 04:26:22 +0800
committerJacob Evans <jacob@dekz.net>2017-11-16 04:26:22 +0800
commita2e1d28efc8dbb9dcc07fae39b2be25a9d1a22be (patch)
tree306a524dc3db73a89effa8e10d5192661af4669a /packages/0x.js
parent590552d3e07a74dc6ca76f0ac2a7d814d6a987be (diff)
downloaddexon-sol-tools-a2e1d28efc8dbb9dcc07fae39b2be25a9d1a22be.tar
dexon-sol-tools-a2e1d28efc8dbb9dcc07fae39b2be25a9d1a22be.tar.gz
dexon-sol-tools-a2e1d28efc8dbb9dcc07fae39b2be25a9d1a22be.tar.bz2
dexon-sol-tools-a2e1d28efc8dbb9dcc07fae39b2be25a9d1a22be.tar.lz
dexon-sol-tools-a2e1d28efc8dbb9dcc07fae39b2be25a9d1a22be.tar.xz
dexon-sol-tools-a2e1d28efc8dbb9dcc07fae39b2be25a9d1a22be.tar.zst
dexon-sol-tools-a2e1d28efc8dbb9dcc07fae39b2be25a9d1a22be.zip
Remove comments
Diffstat (limited to 'packages/0x.js')
-rw-r--r--packages/0x.js/src/utils/order_state_utils.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/0x.js/src/utils/order_state_utils.ts b/packages/0x.js/src/utils/order_state_utils.ts
index e11435f1d..69e749952 100644
--- a/packages/0x.js/src/utils/order_state_utils.ts
+++ b/packages/0x.js/src/utils/order_state_utils.ts
@@ -111,11 +111,8 @@ export class OrderStateUtils {
return BigNumber.min(makerTransferrable, remainingMakerAmount);
}
const orderToFeeRatio = totalMakerAmount.dividedToIntegerBy(makerFee);
- console.log('Order to Fee Ratio: ', orderToFeeRatio.toString());
let fillableTimesInMakerToken = makerTransferrable.dividedToIntegerBy(orderToFeeRatio);
- console.log('Fillable Token Times: ', fillableTimesInMakerToken.toString());
const fillableTimesInFeeToken = BigNumber.min(makerFeeTransferrable, remainingMakerFee);
- console.log('Fillable Fee Times: ', fillableTimesInFeeToken.toString());
if (makerTokenAddress === zrxTokenAddress) {
fillableTimesInMakerToken = makerTransferrable.plus(makerFeeTransferrable)
.dividedToIntegerBy(orderToFeeRatio.plus(new BigNumber(1)));