lib/model: Fix test function for introducer (#4898)

This commit is contained in:
Simon Frei 2018-05-01 23:56:20 +02:00 committed by Audrius Butkevicius
parent c2f498fc82
commit 53dc346583

View File

@ -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