go mod tidy works now at least.

This commit is contained in:
fiatjaf
2025-04-15 18:39:14 -03:00
parent 2b5b646a62
commit cb0dd45a32
37 changed files with 540 additions and 917 deletions

View File

@@ -11,7 +11,7 @@ import (
// List retrieves a list of blobs from a specific pubkey
func (c *Client) List(ctx context.Context) ([]BlobDescriptor, error) {
pubkey, err := c.signer.GetPublicKey(ctx)
if !nostr.IsValidPublicKey(pubkey) {
if err != nil {
return nil, fmt.Errorf("pubkey %s is not valid", pubkey)
}