diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-14 00:00:15 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-14 00:00:15 +0800 |
commit | 8305d409d2ca83583d9fa7e837ec0a46ce6ba78e (patch) | |
tree | 956c768957f56044113772a88a9cbe7de0ef9cf1 /cmd/mist/ui_lib.go | |
parent | b64ad7a2a6544564b68f362f18c70476310396d6 (diff) | |
parent | 5c251b69282b3992512d0c17ed0063f294a0e663 (diff) | |
download | dexon-8305d409d2ca83583d9fa7e837ec0a46ce6ba78e.tar.gz dexon-8305d409d2ca83583d9fa7e837ec0a46ce6ba78e.tar.zst dexon-8305d409d2ca83583d9fa7e837ec0a46ce6ba78e.zip |
Merge branch 'develop' into miner
Diffstat (limited to 'cmd/mist/ui_lib.go')
-rw-r--r-- | cmd/mist/ui_lib.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/mist/ui_lib.go b/cmd/mist/ui_lib.go index 3b9e35c1b..ab48386f4 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()) } } |