Add more log

pull/1921/head
Rongjian Lan 5 years ago
parent a2f1189d59
commit 525d151b0f
  1. 2
      api/service/syncing/syncing.go

@ -584,7 +584,7 @@ func (ss *StateSync) UpdateBlockAndStatus(block *types.Block, bc *core.BlockChai
utils.Logger().Error().Msgf("Txn %d: %s", i, bytes) utils.Logger().Error().Msgf("Txn %d: %s", i, bytes)
} }
for i, tx := range block.StakingTransactions() { for i, tx := range block.StakingTransactions() {
utils.Logger().Error().Msgf("StakingTxn %d: %v, %v", i, tx.StakingType(), tx.StakingMessage()) utils.Logger().Error().Msgf("StakingTxn %d: %s, %v", i, tx.StakingType().String(), tx.StakingMessage())
} }
return nil return nil
} }

Loading…
Cancel
Save