aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/ui_lib.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-13 23:08:30 +0800
committerobscuren <geffobscura@gmail.com>2015-02-13 23:08:30 +0800
commit5c251b69282b3992512d0c17ed0063f294a0e663 (patch)
tree7842c1a6ac8394e8bebfd4f27c9222b497aaf0f6 /cmd/mist/ui_lib.go
parent75d164037fb9bbf75def7c5501727fd634ef124f (diff)
parentbde3ff16ad98cb4ab0befc899f7f0584d21ff9a4 (diff)
downloadgo-tangerine-5c251b69282b3992512d0c17ed0063f294a0e663.tar.gz
go-tangerine-5c251b69282b3992512d0c17ed0063f294a0e663.tar.zst
go-tangerine-5c251b69282b3992512d0c17ed0063f294a0e663.zip
Merge branch 'fjl-poc8-net-integration' into develop
Diffstat (limited to 'cmd/mist/ui_lib.go')
-rw-r--r--cmd/mist/ui_lib.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/mist/ui_lib.go b/cmd/mist/ui_lib.go
index 7c5802076..ba3ac3b61 100644
--- a/cmd/mist/ui_lib.go
+++ b/cmd/mist/ui_lib.go
@@ -136,15 +136,15 @@ func (ui *UiLib) Muted(content string) {
func (ui *UiLib) Connect(button qml.Object) {
if !ui.connected {
- ui.eth.Start(SeedNode)
+ ui.eth.Start()
ui.connected = true
button.Set("enabled", false)
}
}
-func (ui *UiLib) ConnectToPeer(addr string) {
- if err := ui.eth.SuggestPeer(addr); err != nil {
- guilogger.Infoln(err)
+func (ui *UiLib) ConnectToPeer(nodeURL string) {
+ if err := ui.eth.SuggestPeer(nodeURL); err != nil {
+ guilogger.Infoln("SuggestPeer error: " + err.Error())
}
}