From 5a26d1f0e56be4419485c038d429857234f93feb Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Fri, 25 Oct 2019 07:55:30 +0000 Subject: [PATCH 1/2] [wallet] no need to create persistent dht for client node Signed-off-by: Leo Chen --- node/service_setup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/service_setup.go b/node/service_setup.go index 1687edaba..8d4212d93 100644 --- a/node/service_setup.go +++ b/node/service_setup.go @@ -58,7 +58,7 @@ func (node *Node) setupForNewNode() { func (node *Node) setupForClientNode() { // Register networkinfo service. "0" is the beacon shard ID - node.serviceManager.RegisterService(service.NetworkInfo, networkinfo.MustNew(node.host, nodeconfig.NewGroupIDByShardID(0), nil, nil, node.networkInfoDHTPath())) + node.serviceManager.RegisterService(service.NetworkInfo, networkinfo.MustNew(node.host, nodeconfig.NewGroupIDByShardID(0), nil, nil, "")) } func (node *Node) setupForExplorerNode() { From 3b4a6ea6755ac9b8fa899ac94fbd4ac8ed7545ab Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Sun, 27 Oct 2019 13:38:12 -0700 Subject: [PATCH 2/2] [test] fix deploy.sh error Signed-off-by: Leo Chen --- test/deploy.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/deploy.sh b/test/deploy.sh index 7dbb4d5c9..811dac718 100755 --- a/test/deploy.sh +++ b/test/deploy.sh @@ -142,9 +142,7 @@ cleanup # Also it's recommended to use `go build` for testing the whole exe. if [ "${NOBUILD}" != "true" ]; then pushd $ROOT - scripts/go_executable_build.sh harmony - scripts/go_executable_build.sh wallet - scripts/go_executable_build.sh bootnode + scripts/go_executable_build.sh popd fi