Stop logging warnings ErrTxNotFound in ethereum mempool
parent
6460ca3872
commit
3edfebca65
|
@ -75,7 +75,9 @@ func (m *MempoolEthereumType) Resync(onNewTxAddr OnNewTxAddrFunc) (int, error) {
|
|||
if !exists {
|
||||
tx, err := m.chain.GetTransactionForMempool(txid)
|
||||
if err != nil {
|
||||
glog.Warning("cannot get transaction ", txid, ": ", err)
|
||||
if err != ErrTxNotFound {
|
||||
glog.Warning("cannot get transaction ", txid, ": ", err)
|
||||
}
|
||||
continue
|
||||
}
|
||||
io = make([]addrIndex, 0, len(tx.Vout)+len(tx.Vin))
|
||||
|
|
Loading…
Reference in New Issue