mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-17 04:30:03 +02:00
app/ship_processor.go: Need to call log.Dup() otherwise things like log.Level will not be copied.
This commit is contained in:
parent
16ab7d1fcf
commit
fb6cfb9fa6
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ func (processor *ShipProcessor) processBlock(block *ship.GetBlocksResultV0) {
|
|||
if block.Traces != nil && len(block.Traces.Elem) > 0 {
|
||||
for _, trace := range block.Traces.AsTransactionTracesV0() {
|
||||
|
||||
logger := log.WithField("tx_id", trace.ID.String())
|
||||
logger := log.WithField("tx_id", trace.ID.String()).Dup()
|
||||
|
||||
transaction := message.TransactionTrace{
|
||||
ID: trace.ID.String(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue