Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
730199cc
Unverified
Commit
730199cc
authored
Mar 19, 2024
by
zhiqiangxu
Committed by
GitHub
Mar 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove impossible condition (#9885)
parent
22dd936f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
batch_queue.go
op-node/rollup/derive/batch_queue.go
+1
-5
No files found.
op-node/rollup/derive/batch_queue.go
View file @
730199cc
...
@@ -117,11 +117,7 @@ func (bq *BatchQueue) NextBatch(ctx context.Context, parent eth.L2BlockRef) (*Si
...
@@ -117,11 +117,7 @@ func (bq *BatchQueue) NextBatch(ctx context.Context, parent eth.L2BlockRef) (*Si
for
i
,
l1Block
:=
range
bq
.
l1Blocks
{
for
i
,
l1Block
:=
range
bq
.
l1Blocks
{
if
parent
.
L1Origin
.
Number
==
l1Block
.
Number
{
if
parent
.
L1Origin
.
Number
==
l1Block
.
Number
{
bq
.
l1Blocks
=
bq
.
l1Blocks
[
i
:
]
bq
.
l1Blocks
=
bq
.
l1Blocks
[
i
:
]
if
len
(
bq
.
l1Blocks
)
>
0
{
bq
.
log
.
Debug
(
"Advancing internal L1 blocks"
,
"next_epoch"
,
bq
.
l1Blocks
[
0
]
.
ID
(),
"next_epoch_time"
,
bq
.
l1Blocks
[
0
]
.
Time
)
bq
.
log
.
Debug
(
"Advancing internal L1 blocks"
,
"next_epoch"
,
bq
.
l1Blocks
[
0
]
.
ID
(),
"next_epoch_time"
,
bq
.
l1Blocks
[
0
]
.
Time
)
}
else
{
bq
.
log
.
Debug
(
"Advancing internal L1 blocks. No L1 blocks left"
)
}
break
break
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment