We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2389ad commit 929401fCopy full SHA for 929401f
eth/protocols/eth/broadcast.go
@@ -158,7 +158,7 @@ func (p *Peer) announceTransactions() {
158
meta := p.txpool.GetMetadata(queue[count])
159
// BOR specific - DO NOT REMOVE
160
// Skip PIP-15 bundled transactions
161
- if meta != nil && tx.GetOptions() == nil {
+ if tx != nil && meta != nil && tx.GetOptions() == nil {
162
pending = append(pending, queue[count])
163
pendingTypes = append(pendingTypes, meta.Type)
164
pendingSizes = append(pendingSizes, uint32(meta.Size))
0 commit comments