diff --git a/vms/proposervm/batched_vm.go b/vms/proposervm/batched_vm.go index d9512a95ce5e..86672bdc19ea 100644 --- a/vms/proposervm/batched_vm.go +++ b/vms/proposervm/batched_vm.go @@ -159,6 +159,5 @@ func (vm *VM) getStatelessBlk(blkID ids.ID) (statelessblock.Block, error) { if currentBlk, exists := vm.verifiedBlocks[blkID]; exists { return currentBlk.getStatelessBlk(), nil } - statelessBlock, err := vm.State.GetBlock(blkID) - return statelessBlock, err + return vm.State.GetBlock(blkID) }