return
}
- if ok := m.mempool.IsDust(tx); ok {
+ if m.mempool.IsDust(tx) {
m.peers.ProcessIllegal(peer.ID(), security.LevelMsgIllegal, "receive dust tx msg")
return
}
}
for _, tx := range txs {
- if ok := m.mempool.IsDust(tx); ok {
+ if m.mempool.IsDust(tx) {
m.peers.ProcessIllegal(peer.ID(), security.LevelMsgIllegal, "receive dust txs msg")
continue
}