From 081058a85efbcbd4be7f34a2583ca0601a91feb5 Mon Sep 17 00:00:00 2001 From: trillom8 Date: Sun, 26 May 2024 16:26:27 +0900 Subject: [PATCH] beacon/types: fix error string format --- beacon/types/exec_payload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon/types/exec_payload.go b/beacon/types/exec_payload.go index 4448f854ad..b159687dfc 100644 --- a/beacon/types/exec_payload.go +++ b/beacon/types/exec_payload.go @@ -65,7 +65,7 @@ func convertPayload[T payloadType](payload T, parentRoot *zrntcommon.Root) (*typ block := types.NewBlockWithHeader(&header).WithBody(types.Body{Transactions: transactions, Withdrawals: withdrawals}) if hash := block.Hash(); hash != expectedHash { - return nil, fmt.Errorf("Sanity check failed, payload hash does not match (expected %x, got %x)", expectedHash, hash) + return nil, fmt.Errorf("sanity check failed, payload hash does not match (expected %x, got %x)", expectedHash, hash) } return block, nil }