Update beacon chain ip in wallet

pull/165/head
Rongjian Lan 6 years ago
parent a181f0ec70
commit 456fa4e4ec
  1. 4
      client/wallet/main.go

@ -268,8 +268,8 @@ func getShardIDToLeaderMap() map[uint32]p2p.Peer {
func CreateWalletNode() *node.Node { func CreateWalletNode() *node.Node {
shardIDLeaderMap := make(map[uint32]p2p.Peer) shardIDLeaderMap := make(map[uint32]p2p.Peer)
port, _ := strconv.Atoi("8081") port, _ := strconv.Atoi("9999")
bcClient := beaconchain.NewClient("127.0.0.1", strconv.Itoa(port+libs.BeaconchainServicePortDiff)) bcClient := beaconchain.NewClient("54.183.5.66", strconv.Itoa(port+libs.BeaconchainServicePortDiff))
response := bcClient.GetLeaders() response := bcClient.GetLeaders()
for _, leader := range response.Leaders { for _, leader := range response.Leaders {

Loading…
Cancel
Save