From 133d8c00919a543bafd6c041870cd9b8ab3f149d Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Fri, 15 Jul 2022 16:04:38 +0000 Subject: [PATCH] Fix block body regex in `TestChainRPC` --- tests/rpc/rpc_03-chain_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rpc/rpc_03-chain_test.go b/tests/rpc/rpc_03-chain_test.go index 107d17a911..abe59ec00f 100644 --- a/tests/rpc/rpc_03-chain_test.go +++ b/tests/rpc/rpc_03-chain_test.go @@ -102,7 +102,7 @@ func TestChainRPC(t *testing.T) { } block.Block.Header.Digest.Logs = nil assert.Len(t, block.Block.Body, 1) - const bodyRegex = `^0x280403000b[0-9a-z]{8}8101$` + const bodyRegex = `^0x280403000b[0-9a-z]{8}8201$` assert.Regexp(t, bodyRegex, block.Block.Body[0]) block.Block.Body = nil