aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-10-30 22:08:44 +0800
committerFabio Berger <me@fabioberger.com>2017-10-30 22:08:44 +0800
commit9b0496b0491e9fbe353a4c29d8082cf56ede9e38 (patch)
tree090042a979d392c789f75146cb33dc51f50da2ce
parentfa3e88c454e8d25fe8725dc7bf8ea35d6c3e33ab (diff)
downloaddexon-0x-contracts-9b0496b0491e9fbe353a4c29d8082cf56ede9e38.tar.gz
dexon-0x-contracts-9b0496b0491e9fbe353a4c29d8082cf56ede9e38.tar.zst
dexon-0x-contracts-9b0496b0491e9fbe353a4c29d8082cf56ede9e38.zip
Fix comment
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index bc0ac0634..7d8426d04 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -304,9 +304,9 @@ export class ExchangeWrapper extends ContractWrapper {
/**
* Batch version of fillOrderAsync.
* Executes multiple fills atomically in a single transaction.
- * If shouldThrowOnInsufficientBalanceOrAllowance is set to true, it will continue filling subsequent orders even
+ * If shouldThrowOnInsufficientBalanceOrAllowance is set to false, it will continue filling subsequent orders even
* when earlier ones fail.
- * When shouldThrowOnInsufficientBalanceOrAllowance is set to false, if any fill fails, the entire batch fails.
+ * When shouldThrowOnInsufficientBalanceOrAllowance is set to true, if any fill fails, the entire batch fails.
* @param orderFillRequests An array of objects that conform to the
* OrderFillRequest interface.
* @param shouldThrowOnInsufficientBalanceOrAllowance Whether or not you wish for the contract call to throw