From 72af463198c7b5703a64a943518327f1d0fed69c Mon Sep 17 00:00:00 2001 From: rian Date: Wed, 2 Oct 2024 12:54:18 +0300 Subject: [PATCH] fix test validation bug --- rpc/block_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/block_test.go b/rpc/block_test.go index 71f046f9..5256bcdd 100644 --- a/rpc/block_test.go +++ b/rpc/block_test.go @@ -655,5 +655,5 @@ func validatePendingBlockHeader(t *testing.T, pBlock *PendingBlockHeader) { require.NotZero(t, pBlock.L1GasPrice) require.NotZero(t, pBlock.StarknetVersion) require.NotZero(t, pBlock.L1DataGasPrice) - require.NotZero(t, pBlock.L1DAMode) + require.NotNil(t, pBlock.L1DAMode) }