[core] Fix log msg are misleading

pull/3874/head
Alex Chen 3 years ago committed by Leo Chen
parent f106674b55
commit e189c9f3f5
  1. 2
      core/rawdb/accessors_offchain.go

@ -89,7 +89,7 @@ func WritePendingSlashingCandidates(db DatabaseWriter, bytes []byte) error {
func ReadCXReceipts(db DatabaseReader, shardID uint32, number uint64, hash common.Hash) (types.CXReceipts, error) {
data, err := db.Get(cxReceiptKey(shardID, number, hash))
if err != nil || len(data) == 0 {
utils.Logger().Info().Err(err).Uint64("number", number).Int("dataLen", len(data)).Msg("ReadCXReceipts")
utils.Logger().Error().Err(err).Uint64("number", number).Int("dataLen", len(data)).Msg("ReadCXReceipts")
return nil, err
}
cxReceipts := types.CXReceipts{}

Loading…
Cancel
Save