From 27ce911c9c13650daed8c5da630850c1959106d1 Mon Sep 17 00:00:00 2001 From: Daniel Wang <99078276+dantaik@users.noreply.github.com> Date: Fri, 26 Jan 2024 11:26:58 +0800 Subject: [PATCH] fix(protocol): block reusability check error fixed (TKO-18) (#15572) --- packages/protocol/contracts/L1/libs/LibProposing.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/protocol/contracts/L1/libs/LibProposing.sol b/packages/protocol/contracts/L1/libs/LibProposing.sol index 36a880ccd25..a2942fa9ba7 100644 --- a/packages/protocol/contracts/L1/libs/LibProposing.sol +++ b/packages/protocol/contracts/L1/libs/LibProposing.sol @@ -134,7 +134,7 @@ library LibProposing { if (params.blobHash != 0) { // We try to reuse an old blob - if (isBlobReusable(state, config, params.blobHash)) { + if (!isBlobReusable(state, config, params.blobHash)) { revert L1_BLOB_NOT_REUSEABLE(); } meta.blobHash = params.blobHash;