mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-07-04 20:44:28 +02:00
replace deprecated functions in multiple places.
This commit is contained in:
@ -32,7 +32,7 @@ func TestMetadataAndEvents(t *testing.T) {
|
||||
Limit: 5,
|
||||
}
|
||||
events := make([]*nostr.Event, 0, 5)
|
||||
for ie := range sys.Pool.SubManyEose(ctx, relays, nostr.Filters{filter}) {
|
||||
for ie := range sys.Pool.FetchMany(ctx, relays, filter) {
|
||||
events = append(events, ie.Event)
|
||||
}
|
||||
require.NoError(t, err)
|
||||
|
Reference in New Issue
Block a user