mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-17 19:13:56 +02:00
NIP-96 sign payload, content field for file caption (#148)
* content in upload response for file caption as in NIP-94, optional signing of file payload in NIP-98 header * Content in NIP-94 as well
This commit is contained in:
@@ -22,6 +22,7 @@ func TestUpload(t *testing.T) {
|
||||
//Host: "https://nostrcheck.me/api/v2/media",
|
||||
//Host: "https://nostrage.com/api/v2/media",
|
||||
SK: nostr.GeneratePrivateKey(),
|
||||
SignPayload: true,
|
||||
File: img,
|
||||
Filename: "ostrich.png",
|
||||
Caption: "nostr ostrich",
|
||||
|
Reference in New Issue
Block a user