aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2017-11-13 06:30:57 +0800
committerJacob Evans <jacob@dekz.net>2017-11-13 06:30:57 +0800
commit5e77e8809abd96136fb11ebdc84a2aefa32d4cea (patch)
tree1e771f4c709a4d4e943402a3451929d496212203
parent1b3f84c9ad4d13f49041ed7f56a2a126f9c40f38 (diff)
downloaddexon-sol-tools-5e77e8809abd96136fb11ebdc84a2aefa32d4cea.tar
dexon-sol-tools-5e77e8809abd96136fb11ebdc84a2aefa32d4cea.tar.gz
dexon-sol-tools-5e77e8809abd96136fb11ebdc84a2aefa32d4cea.tar.bz2
dexon-sol-tools-5e77e8809abd96136fb11ebdc84a2aefa32d4cea.tar.lz
dexon-sol-tools-5e77e8809abd96136fb11ebdc84a2aefa32d4cea.tar.xz
dexon-sol-tools-5e77e8809abd96136fb11ebdc84a2aefa32d4cea.tar.zst
dexon-sol-tools-5e77e8809abd96136fb11ebdc84a2aefa32d4cea.zip
Update comment
-rw-r--r--src/utils/order_state_utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/order_state_utils.ts b/src/utils/order_state_utils.ts
index fde7a7e02..4f57de9fe 100644
--- a/src/utils/order_state_utils.ts
+++ b/src/utils/order_state_utils.ts
@@ -65,7 +65,7 @@ export class OrderStateUtils {
const totalMakerTokenAmount = signedOrder.makerTokenAmount;
const totalTakerTokenAmount = signedOrder.takerTokenAmount;
const remainingTakerTokenAmount = totalTakerTokenAmount.minus(unavailableTakerTokenAmount);
- // 200 in order, 100 unavailable = 100 remaning, 0.5 remaning proportion
+ // 200 in order, 100 unavailable = 100 remaning, 0.5 remaining in taker proportion
const remainingTakerProportion = remainingTakerTokenAmount.dividedBy(totalTakerTokenAmount);
const remainingMakerTokenAmount = remainingTakerProportion.times(totalMakerTokenAmount);
// min allowance, balance in account of maker