mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-04 22:03:07 +00:00
adversaryPeer -> adversary
This commit is contained in:
parent
d740f53531
commit
6b2635b6ac
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user