Merge pull request #1623 from Blockdaemon/no-read-cx-receipts-info

Make "No ReadCXReceipts found" Info() not Warn()
pull/1625/head
Rongjian Lan 5 years ago committed by GitHub
commit 616ce898bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      node/node_cross_shard.go

@ -58,7 +58,7 @@ func (node *Node) BroadcastCXReceiptsWithShardID(block *types.Block, commitSig [
cxReceipts, err := node.Blockchain().ReadCXReceipts(toShardID, block.NumberU64(), block.Hash(), false)
if err != nil || len(cxReceipts) == 0 {
utils.Logger().Warn().Err(err).Uint32("ToShardID", toShardID).Int("numCXReceipts", len(cxReceipts)).Msg("[BroadcastCXReceiptsWithShardID] No ReadCXReceipts found")
utils.Logger().Info().Err(err).Uint32("ToShardID", toShardID).Int("numCXReceipts", len(cxReceipts)).Msg("[BroadcastCXReceiptsWithShardID] No ReadCXReceipts found")
return
}
merkleProof, err := node.Blockchain().CXMerkleProof(toShardID, block)

Loading…
Cancel
Save