cmd/puppeth: fix enode cast issue

This commit is contained in:
Péter Szilágyi 2018-10-04 12:28:59 +03:00
parent 6b6884bb30
commit ee8c8745bb
No known key found for this signature in database
GPG key ID: E9AE538CEDF8293D

View file

@ -266,7 +266,7 @@ func checkNode(client *sshClient, network string, boot bool) (*nodeInfos, error)
gasLimit: gasLimit, gasLimit: gasLimit,
gasPrice: gasPrice, gasPrice: gasPrice,
} }
stats.enode = enode stats.enode = string(enode)
return stats, nil return stats, nil
} }