From d4562a01816f3c36c4ef785a1267add5abacd0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=C4=9Fuzhan=20O=C4=9Fuz?= <46710637+ozzy35410@users.noreply.github.com> Date: Tue, 18 Mar 2025 14:24:15 +0300 Subject: [PATCH] Fix incorrect transaction hash access in syncTransactions function --- eth/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/sync.go b/eth/sync.go index 61f2b2b376..d99a040469 100644 --- a/eth/sync.go +++ b/eth/sync.go @@ -27,7 +27,7 @@ func (h *handler) syncTransactions(p *eth.Peer) { var hashes []common.Hash for _, batch := range h.txpool.Pending(txpool.PendingFilter{OnlyPlainTxs: true}) { for _, tx := range batch { - hashes = append(hashes, tx.Hash) + hashes = append(hashes, tx.Hash()) } } if len(hashes) == 0 {