mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-08-27 22:32:13 +02:00
get rid of base64x temporarily since it doesn't work on arm64.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user