From c9edeae6d8dad1fba6c4f5eca63ff5db3e6555e2 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 3 Jul 2017 14:41:50 -0700 Subject: Rename _wrapEventCallback to _getBigNumberWrappingEventCallback --- src/contract_wrappers/exchange_wrapper.ts | 4 ++-- 1 file 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 => { -- cgit v1.2.3