adversaryPeer -> adversary

This commit is contained in:
Raghav Gulati 2019-05-07 10:17:55 -07:00
parent d740f53531
commit 6b2635b6ac
No known key found for this signature in database
GPG Key ID: EA2C73F6F7EF2701
1 changed files with 2 additions and 2 deletions

View File

@ -984,7 +984,7 @@ func TestImproperlySignedMessageNotRelayed(t *testing.T) {
t.Fatal(err)
}
adversaryPeerSubscription, err := adversaryPubSub.Subscribe(topic)
adversarySubscription, err := adversaryPubSub.Subscribe(topic)
if err != nil {
t.Fatal(err)
}
@ -1016,7 +1016,7 @@ func TestImproperlySignedMessageNotRelayed(t *testing.T) {
case <-ctx.Done():
return
default:
msg, err := adversaryPeerSubscription.Next(ctx)
msg, err := adversarySubscription.Next(ctx)
if err != nil {
return
}