Node: Don't log "Transaction failed" in solana (#1835)
Change-Id: I31ed7c57102dbdcd5956270e99859b9bdeaafb13
This commit is contained in:
parent
83e0f053f8
commit
a7d79407f4
|
@ -307,7 +307,11 @@ func (s *SolanaWatcher) fetchBlock(ctx context.Context, logger *zap.Logger, slot
|
|||
OUTER:
|
||||
for txNum, txRpc := range out.Transactions {
|
||||
if txRpc.Meta.Err != nil {
|
||||
logger.Info("Transaction failed, skipping it", zap.Int("txNum", txNum))
|
||||
logger.Debug("Transaction failed, skipping it",
|
||||
zap.Uint64("slot", slot),
|
||||
zap.Int("txNum", txNum),
|
||||
zap.String("err", fmt.Sprint(txRpc.Meta.Err)),
|
||||
)
|
||||
continue
|
||||
}
|
||||
tx, err := txRpc.GetTransaction()
|
||||
|
|
Loading…
Reference in New Issue