forked from bnb-chain/op-geth
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request bnb-chain#217 from welkin22/feature/TxDAG-PEVM-fixut
pevm: try to fix UT
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Subject: [PATCH] fix unit test | ||
--- | ||
Index: core/txpool/legacypool/legacypool.go | ||
IDEA additional info: | ||
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | ||
<+>UTF-8 | ||
=================================================================== | ||
diff --git a/core/txpool/legacypool/legacypool.go b/core/txpool/legacypool/legacypool.go | ||
--- a/core/txpool/legacypool/legacypool.go (revision 1233f69823ec26df160575add475f1e949cde211) | ||
+++ b/core/txpool/legacypool/legacypool.go (date 1730875125704) | ||
@@ -391,7 +391,7 @@ | ||
} | ||
|
||
func (pool *LegacyPool) loopOfSync() { | ||
- ticker := time.NewTicker(200 * time.Second) | ||
+ ticker := time.NewTicker(200 * time.Millisecond) | ||
for { | ||
select { | ||
case <-pool.reorgShutdownCh: |