Commit 1733fbd
eth: fix panic in randomDuration when min equals max (ethereum#33193)
Fixes a potential panic in `randomDuration` when `min == max` by
handling the edge case explicitly.1 parent 5f2a9e6 commit 1733fbd
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
148 | 151 | | |
149 | 152 | | |
150 | 153 | | |
| |||
0 commit comments