From e792adb1313446a1a1c0935e05a4953a21eb6007 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Fri, 3 Jun 2022 23:31:18 -0300 Subject: [PATCH] Fix error msg params (#4357) --- core/types/receipt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/types/receipt.go b/core/types/receipt.go index 14fb4d73d..ae64be28b 100644 --- a/core/types/receipt.go +++ b/core/types/receipt.go @@ -468,7 +468,7 @@ func (r Receipts) DeriveFields(hash common.Hash, number uint64, txs Transactions return fmt.Errorf("transaction and receipt count mismatch, tx count = %d, receipts count = %d", len(txs), len(r)) } if len(senders) != len(txs) { - return fmt.Errorf("transaction and senders count mismatch, tx count = %d, receipts count = %d", len(txs), len(r)) + return fmt.Errorf("transaction and senders count mismatch, tx count = %d, senders count = %d", len(txs), len(senders)) } for i := 0; i < len(r); i++ { // The transaction type and hash can be retrieved from the transaction itself