Use names rather than index

We've aliased array elements, use the explicit names instead.
This commit is contained in:
Raghav Gulati 2019-05-08 09:27:26 -07:00
parent 594e6a4ab9
commit a726a896db
No known key found for this signature in database
GPG Key ID: EA2C73F6F7EF2701

View File

@ -970,7 +970,7 @@ func TestImproperlySignedMessageRejected(t *testing.T) {
WithStrictSignatureVerification(true),
)
connect(t, hosts[0], hosts[1])
connect(t, adversary, honestPeer)
var (
topic = "foobar"