mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 03:41:34 +00:00
network: add debug for transactions as well
Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
parent
db2e214f7e
commit
f9a82ae45f
1 changed files with 4 additions and 1 deletions
|
@ -1142,8 +1142,11 @@ txloop:
|
|||
}
|
||||
}
|
||||
}
|
||||
if s.verifyAndPoolTX(tx) == nil {
|
||||
err := s.verifyAndPoolTX(tx)
|
||||
if err == nil {
|
||||
s.broadcastTX(tx, nil)
|
||||
} else {
|
||||
s.log.Debug("tx handler", zap.Error(err), zap.String("hash", tx.Hash().StringLE()))
|
||||
}
|
||||
s.txInLock.Lock()
|
||||
delete(s.txInMap, tx.Hash())
|
||||
|
|
Loading…
Reference in a new issue