From e11d4c2b72b0f56ca12650c4c1d74863a6e40506 Mon Sep 17 00:00:00 2001 From: Rongjian Lan Date: Fri, 30 Nov 2018 14:25:49 -0800 Subject: [PATCH] Comment out the line that's causing client not able to receive messages from leaders --- client/txgen/main.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/client/txgen/main.go b/client/txgen/main.go index bd83dadc5..025035eb1 100644 --- a/client/txgen/main.go +++ b/client/txgen/main.go @@ -10,14 +10,12 @@ import ( "time" "github.com/ethereum/go-ethereum/rlp" - "github.com/harmony-one/harmony/client/txgen/txgen" - "github.com/harmony-one/harmony/core/types" - "github.com/harmony-one/harmony/p2pv2" - "github.com/harmony-one/harmony/blockchain" "github.com/harmony-one/harmony/client" client_config "github.com/harmony-one/harmony/client/config" + "github.com/harmony-one/harmony/client/txgen/txgen" "github.com/harmony-one/harmony/consensus" + "github.com/harmony-one/harmony/core/types" "github.com/harmony-one/harmony/log" "github.com/harmony-one/harmony/node" "github.com/harmony-one/harmony/p2p" @@ -92,7 +90,7 @@ func main() { clientNode := node.New(consensusObj, nil, *clientPeer) if clientPeer != nil { - p2pv2.InitHost(clientPeer.IP, clientPeer.Port) // TODO: this should be moved into client node. + //p2pv2.InitHost(clientPeer.IP, clientPeer.Port) // TODO: this should be moved into client node. clientNode.Client = client.NewClient(&shardIDLeaderMap) // This func is used to update the client's utxopool when new blocks are received from the leaders