aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-04 05:41:50 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-07-04 05:41:50 +0800
commitc9edeae6d8dad1fba6c4f5eca63ff5db3e6555e2 (patch)
tree0cb99d4d64b08dd6bb1d64e53c0e0af751d6b8c9 /src
parent3a4a3b9aa1ebbf80fcd5d0b0cdb3727c55babc3b (diff)
downloaddexon-0x-contracts-c9edeae6d8dad1fba6c4f5eca63ff5db3e6555e2.tar.gz
dexon-0x-contracts-c9edeae6d8dad1fba6c4f5eca63ff5db3e6555e2.tar.zst
dexon-0x-contracts-c9edeae6d8dad1fba6c4f5eca63ff5db3e6555e2.zip
Rename _wrapEventCallback to _getBigNumberWrappingEventCallback
Diffstat (limited to 'src')
-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 2d46b99de..57a116aea 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -657,7 +657,7 @@ export class ExchangeWrapper extends ContractWrapper {
}
private _wrapEventEmitter(event: ContractEventObj): ContractEventEmitter {
const watch = (eventCallback: EventCallback) => {
- const bignumberWrappingEventCallback = this._wrapEventCallback(eventCallback);
+ const bignumberWrappingEventCallback = this._getBigNumberWrappingEventCallback(eventCallback);
event.watch(bignumberWrappingEventCallback);
};
const zeroExEvent = {
@@ -668,7 +668,7 @@ export class ExchangeWrapper extends ContractWrapper {
};
return zeroExEvent;
}
- private _wrapEventCallback(eventCallback: EventCallback): EventCallback {
+ private _getBigNumberWrappingEventCallback(eventCallback: EventCallback): EventCallback {
const bignumberWrappingEventCallback = (err: Error, event: ContractEvent) => {
if (_.isNull(err)) {
const wrapIfBigNumber = (value: ContractEventArg): ContractEventArg => {