aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/contract_wrappers/contract_wrapper.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-24 00:01:23 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-24 05:12:34 +0800
commite01468b49265c1cad9a4d81873584a7e89169aa1 (patch)
treee1592ae8ca9f293fb4c57f1af84e5b0f6f1cf8e4 /packages/0x.js/src/contract_wrappers/contract_wrapper.ts
parentf97074dc84b5c45b9c487ee27ca7ed671bb6fd71 (diff)
downloaddexon-sol-tools-e01468b49265c1cad9a4d81873584a7e89169aa1.tar.gz
dexon-sol-tools-e01468b49265c1cad9a4d81873584a7e89169aa1.tar.zst
dexon-sol-tools-e01468b49265c1cad9a4d81873584a7e89169aa1.zip
Make DecodedLogEvent contain web3 log under a log subkey
Diffstat (limited to 'packages/0x.js/src/contract_wrappers/contract_wrapper.ts')
-rw-r--r--packages/0x.js/src/contract_wrappers/contract_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/src/contract_wrappers/contract_wrapper.ts b/packages/0x.js/src/contract_wrappers/contract_wrapper.ts
index 7997b1647..70548293c 100644
--- a/packages/0x.js/src/contract_wrappers/contract_wrapper.ts
+++ b/packages/0x.js/src/contract_wrappers/contract_wrapper.ts
@@ -100,7 +100,7 @@ export class ContractWrapper {
if (filterUtils.matchesFilter(log, filter)) {
const decodedLog = this._tryToDecodeLogOrNoop(log) as LogWithDecodedArgs<ArgsType>;
const logEvent = {
- ...decodedLog,
+ log: decodedLog,
removed,
};
this._filterCallbacks[filterToken](null, logEvent);