From 831e1d6531a3fd78a0836bdf25a584e60a775ab9 Mon Sep 17 00:00:00 2001 From: acolytec3 <17355484+acolytec3@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:50:43 -0400 Subject: [PATCH] revert invalid check --- packages/vm/src/buildBlock.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/vm/src/buildBlock.ts b/packages/vm/src/buildBlock.ts index e4bb361a33..71bf05bbd8 100644 --- a/packages/vm/src/buildBlock.ts +++ b/packages/vm/src/buildBlock.ts @@ -366,9 +366,7 @@ export class BlockBuilder { let block const cs = this.blockOpts.cliqueSigner - if (this.blockOpts.common?.consensusAlgorithm() === ConsensusAlgorithm.Clique) { - if (cs === undefined) - throw new Error('cliqueSigner required for building blocks under PoA consensus') + if (cs !== undefined) { block = createSealedCliqueBlock(blockData, cs, this.blockOpts) } else { block = createBlock(blockData, blockOpts)