Skip to content

Commit 0bf8b73

Browse files
StephenButtolphARR4N
authored andcommitted
Remove unused block deletion
1 parent 8edf2e0 commit 0bf8b73

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

block.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ func (vm *VM) AcceptBlock(ctx context.Context, b *Block) error {
9494
}
9595

9696
func (vm *VM) RejectBlock(ctx context.Context, b *Block) error {
97-
rawdb.DeleteBlock(vm.db, b.Hash(), b.NumberU64())
9897
// TODO(arr4n) add the transactions back to the mempool if necessary.
9998
return nil
10099
}

0 commit comments

Comments
 (0)