aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio B <kandinsky454@protonmail.ch>2019-01-17 22:06:42 +0800
committerGitHub <noreply@github.com>2019-01-17 22:06:42 +0800
commit92ec4f57722eb738637431e3038dc589ca3708de (patch)
tree17e1f13c1e3c22389f37694b232d47f2a242cffb /packages
parent8528660f5021ffc1d42c21b7e09687f5036a1416 (diff)
downloaddexon-sol-tools-92ec4f57722eb738637431e3038dc589ca3708de.tar
dexon-sol-tools-92ec4f57722eb738637431e3038dc589ca3708de.tar.gz
dexon-sol-tools-92ec4f57722eb738637431e3038dc589ca3708de.tar.bz2
dexon-sol-tools-92ec4f57722eb738637431e3038dc589ca3708de.tar.lz
dexon-sol-tools-92ec4f57722eb738637431e3038dc589ca3708de.tar.xz
dexon-sol-tools-92ec4f57722eb738637431e3038dc589ca3708de.tar.zst
dexon-sol-tools-92ec4f57722eb738637431e3038dc589ca3708de.zip
Update packages/sol-tracing-utils/src/trace_collection_subprovider.ts
Co-Authored-By: LogvinovLeon <logvinov.leon@gmail.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/sol-tracing-utils/src/trace_collection_subprovider.ts2
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();