Skip to content

Commit 9e50e70

Browse files
committed
goimports
1 parent 2c3e0f6 commit 9e50e70

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

core/blockchain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ func (bc *BlockChain) BuildAndWriteBlock(parentBlock *types.Block, header *types
18951895
// Double check: even though we just built the block, make sure it is valid.
18961896
if err = bc.validator.ValidateState(fullBlock, statedb, receipts, gasUsed); err != nil {
18971897
bc.reportBlock(fullBlock, receipts, err)
1898-
return nil,NonStatTy, fmt.Errorf("error validating block %d: %w", fullBlock.Number().Uint64(), err)
1898+
return nil, NonStatTy, fmt.Errorf("error validating block %d: %w", fullBlock.Number().Uint64(), err)
18991899
}
19001900

19011901
writeStatus, err := bc.writeBlockWithState(fullBlock, receipts, logs, statedb, false)

rollup/rollup_sync_service/rollup_sync_service_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ import (
77
"os"
88
"testing"
99

10-
"github.com/scroll-tech/da-codec/encoding"
1110
"github.com/stretchr/testify/assert"
1211
"github.com/stretchr/testify/require"
1312

13+
"github.com/scroll-tech/da-codec/encoding"
14+
1415
"github.com/scroll-tech/go-ethereum/common"
1516
"github.com/scroll-tech/go-ethereum/core"
1617
"github.com/scroll-tech/go-ethereum/core/rawdb"

0 commit comments

Comments
 (0)