Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
srene committed Nov 29, 2024
1 parent 48364ef commit ba45d02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/fork.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ func (m *Manager) createForkBlocks(instruction types.Instruction, consensusMsgs
if err != nil {
return gerrc.ErrInternal.Wrapf("load stored blocks: %d", h)
}

if 0 < len(b.Data.Txs) {
return gerrc.ErrInternal.Wrapf("fork block has tx: %d", h)
}
Expand Down

0 comments on commit ba45d02

Please sign in to comment.