From 525d151b0f3c374839bd0b432c76df36dc8c56cf Mon Sep 17 00:00:00 2001 From: Rongjian Lan Date: Sat, 30 Nov 2019 00:58:32 -0800 Subject: [PATCH] Add more log --- api/service/syncing/syncing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/service/syncing/syncing.go b/api/service/syncing/syncing.go index 3d81fc29d..27ea88feb 100644 --- a/api/service/syncing/syncing.go +++ b/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) } 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 }