diff --git a/node/node_handler.go b/node/node_handler.go index 754c5a6d8..4f09adb84 100644 --- a/node/node_handler.go +++ b/node/node_handler.go @@ -21,6 +21,7 @@ import ( "github.com/ethereum/go-ethereum/rlp" pb "github.com/golang/protobuf/proto" "github.com/harmony-one/bls/ffi/go/bls" + common2 "github.com/harmony-one/harmony/internal/common" libp2p_peer "github.com/libp2p/go-libp2p-peer" "github.com/harmony-one/harmony/api/proto" @@ -31,7 +32,6 @@ import ( "github.com/harmony-one/harmony/contracts/structs" "github.com/harmony-one/harmony/core" "github.com/harmony-one/harmony/core/types" - common2 "github.com/harmony-one/harmony/internal/common" nodeconfig "github.com/harmony-one/harmony/internal/configs/node" "github.com/harmony-one/harmony/internal/ctxerror" "github.com/harmony-one/harmony/internal/utils" @@ -396,7 +396,7 @@ func (node *Node) PostConsensusProcessing(newBlock *types.Block) { if node.Consensus.PubKey.IsEqual(node.Consensus.LeaderPubKey) { node.BroadcastNewBlock(newBlock) } else { - utils.GetLogInstance().Info("BINGO !!! Reached Consensus", "ViewID", node.Consensus.GetViewID()) + utils.GetLogInstance().Info("BINGO !!! Reached Consensus", "ViewID", node.Consensus.GetViewID(), "MyAddress", common2.MustAddressToBech32(node.Consensus.SelfAddress)) } if err := node.AddNewBlock(newBlock); err != nil {