version mismatch catch
This commit is contained in:
1 parent
3ba96528bb
commit
a90653260a
11 files changed
+181
-34
No files matched your search
@@ -71,6 +71,8 @@ func New(cfg *config.Config, store *state.Store, local node.Node) *Manager {
|
||||
|
||||
func (m *Manager) SetNodeBackHandler(fn func(node string)) { m.onNodeBack = fn }
|
||||
|
||||
func (m *Manager) LocalName() string { return m.local.Name() }
|
||||
|
||||
func (m *Manager) nodeByName(name string) (node.Node, error) {
|
||||
if name == m.local.Name() {
|
||||
return m.local, nil
|
||||
|
||||
Reference in new issue
Block a user