diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-05 08:36:33 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-05 08:36:33 +0800 |
commit | 4cb544f4f57c62ae40b8eb2dae1515c52f9a7ebf (patch) | |
tree | e7d49d6a11424944ea216e96e6b41821c7c66325 /src/utils | |
parent | 6f73589d4075ff89717f12c04e28fea7131c40e5 (diff) | |
download | dexon-0x-contracts-4cb544f4f57c62ae40b8eb2dae1515c52f9a7ebf.tar.gz dexon-0x-contracts-4cb544f4f57c62ae40b8eb2dae1515c52f9a7ebf.tar.zst dexon-0x-contracts-4cb544f4f57c62ae40b8eb2dae1515c52f9a7ebf.zip |
Add underscore in front of _getBigNumberWrappingEventCallback
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/event_utils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/event_utils.ts b/src/utils/event_utils.ts index d3eeaecac..5829ffe99 100644 --- a/src/utils/event_utils.ts +++ b/src/utils/event_utils.ts @@ -10,7 +10,7 @@ export const eventUtils = { * @param eventCallback Event callback function to be wrapped * @return Wrapped event callback function */ - getBigNumberWrappingEventCallback(eventCallback: EventCallback): EventCallback { + _getBigNumberWrappingEventCallback(eventCallback: EventCallback): EventCallback { const bignumberWrappingEventCallback = (err: Error, event: ContractEvent) => { if (_.isNull(err)) { const wrapIfBigNumber = (value: ContractEventArg): ContractEventArg => { @@ -30,7 +30,7 @@ export const eventUtils = { }, wrapEventEmitter(event: ContractEventObj): ContractEventEmitter { const watch = (eventCallback: EventCallback) => { - const bignumberWrappingEventCallback = eventUtils.getBigNumberWrappingEventCallback(eventCallback); + const bignumberWrappingEventCallback = eventUtils._getBigNumberWrappingEventCallback(eventCallback); event.watch(bignumberWrappingEventCallback); }; const zeroExEvent = { |