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 {