mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-07-23 17:55:14 +02:00
nip46: fix using nil relay pointer when connection fails.
This commit is contained in:
@@ -231,8 +231,8 @@ func (bunker *BunkerClient) RPC(ctx context.Context, method string, params []str
|
||||
case hasWorked <- struct{}{}:
|
||||
default:
|
||||
}
|
||||
relay.Publish(ctx, evt)
|
||||
}
|
||||
relay.Publish(ctx, evt)
|
||||
}(url)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user