Skip to content

Commit

Permalink
fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ssd04 committed Jan 31, 2025
1 parent a32849b commit 22edddc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions integrationTests/testFullNode.go
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,9 @@ func (tpn *TestFullNode) initBlockProcessor(
}

tpn.BlockProcessor, err = block.NewMetaProcessor(arguments)
if err != nil {
log.Error("error creating meta blockprocessor", "error", err)
}
} else {
if check.IfNil(tpn.EpochStartTrigger) {
argsPeerMiniBlocksSyncer := shardchain.ArgPeerMiniBlockSyncer{
Expand Down Expand Up @@ -1088,11 +1091,11 @@ func (tpn *TestFullNode) initBlockProcessor(
}

tpn.BlockProcessor, err = block.NewShardProcessor(arguments)
if err != nil {
log.Error("error creating shard blockprocessor", "error", err)
}
}

if err != nil {
log.Error("error creating blockprocessor", "error", err)
}
}

func (tpn *TestFullNode) initBlockProcessorWithSync(
Expand Down

0 comments on commit 22edddc

Please sign in to comment.