get rid of base64x temporarily since it doesn't work on arm64.

This commit is contained in:
fiatjaf
2025-03-19 14:59:48 -03:00
parent 7c9c5d7cd9
commit c1d9c094ee
5 changed files with 12 additions and 12 deletions

View File

@@ -2,12 +2,12 @@ package blossom
import (
"context"
"encoding/base64"
"encoding/json"
"fmt"
"io"
"strconv"
"github.com/cloudwego/base64x"
"github.com/nbd-wtf/go-nostr"
"github.com/valyala/fasthttp"
)
@@ -85,5 +85,5 @@ func (c *Client) authorizationHeader(
}
jevt, _ := json.Marshal(evt)
return "Nostr " + base64x.StdEncoding.EncodeToString(jevt)
return "Nostr " + base64.StdEncoding.EncodeToString(jevt)
}