diff options
Diffstat (limited to 'cmd/mist')
-rw-r--r-- | cmd/mist/ui_lib.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/mist/ui_lib.go b/cmd/mist/ui_lib.go index 2de71491c..a604e87ba 100644 --- a/cmd/mist/ui_lib.go +++ b/cmd/mist/ui_lib.go @@ -104,8 +104,8 @@ func (ui *UiLib) Connect(button qml.Object) { } func (ui *UiLib) ConnectToPeer(nodeURL string) { - if err := ui.eth.SuggestPeer(nodeURL); err != nil { - guilogger.Infoln("SuggestPeer error: " + err.Error()) + if err := ui.eth.AddPeer(nodeURL); err != nil { + guilogger.Infoln("AddPeer error: " + err.Error()) } } |