mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
lib/model: Fix test function for introducer (#4898)
This commit is contained in:
parent
c2f498fc82
commit
53dc346583
@ -690,7 +690,7 @@ func TestIntroducer(t *testing.T) {
|
|||||||
if introducedBy.Equals(introducedByAnyone) {
|
if introducedBy.Equals(introducedByAnyone) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return introducedBy.Equals(introducedBy)
|
return dev.IntroducedBy.Equals(introducedBy)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
Loading…
Reference in New Issue
Block a user