Skip to content

Commit

Permalink
more refactor for chain simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
axenteoctavian committed Apr 22, 2024
1 parent b118540 commit e843033
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions node/chainSimulator/process/processor.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package process

import (
"time"

"github.com/multiversx/mx-chain-go/common"
"github.com/multiversx/mx-chain-go/consensus/spos"
"github.com/multiversx/mx-chain-go/node/chainSimulator/configs"
Expand Down Expand Up @@ -121,13 +119,6 @@ func (creator *blocksCreator) CreateNewBlock() error {
return err
}

header, block, err = bp.ProcessBlock(header, block, func() time.Duration {
return time.Second
})
if err != nil {
return err
}

err = bp.CommitBlock(header, block)
if err != nil {
return err
Expand Down

0 comments on commit e843033

Please sign in to comment.