diff options
author | Fabio B <kandinsky454@protonmail.ch> | 2019-01-17 22:06:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-17 22:06:42 +0800 |
commit | 92ec4f57722eb738637431e3038dc589ca3708de (patch) | |
tree | 17e1f13c1e3c22389f37694b232d47f2a242cffb /packages/sol-tracing-utils/src | |
parent | 8528660f5021ffc1d42c21b7e09687f5036a1416 (diff) | |
download | dexon-0x-contracts-92ec4f57722eb738637431e3038dc589ca3708de.tar.gz dexon-0x-contracts-92ec4f57722eb738637431e3038dc589ca3708de.tar.zst dexon-0x-contracts-92ec4f57722eb738637431e3038dc589ca3708de.zip |
Update packages/sol-tracing-utils/src/trace_collection_subprovider.ts
Co-Authored-By: LogvinovLeon <logvinov.leon@gmail.com>
Diffstat (limited to 'packages/sol-tracing-utils/src')
-rw-r--r-- | packages/sol-tracing-utils/src/trace_collection_subprovider.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-tracing-utils/src/trace_collection_subprovider.ts b/packages/sol-tracing-utils/src/trace_collection_subprovider.ts index d34707a13..5118921fa 100644 --- a/packages/sol-tracing-utils/src/trace_collection_subprovider.ts +++ b/packages/sol-tracing-utils/src/trace_collection_subprovider.ts @@ -144,7 +144,7 @@ export abstract class TraceCollectionSubprovider extends Subprovider { txHash: string | undefined, cb: Callback, ): Promise<void> { - if (!txData.isFakeTransaction && !(txData.from === txData.to)) { + if (!(txData.isFakeTransaction || txData.from === txData.to)) { // This transaction is a usual transaction. Not a call executed as one. // And we don't want it to be executed within a snapshotting period await this._lock.acquire(); |