From e259db58813a00e060ef43e6441b74f2affef117 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 18 May 2026 22:14:04 -0300 Subject: [PATCH] nip46: request ids more debuggable. --- nip46/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nip46/client.go b/nip46/client.go index 03524b9..d14c17c 100644 --- a/nip46/client.go +++ b/nip46/client.go @@ -274,7 +274,7 @@ func (bunker *BunkerClient) NIP04Decrypt( } func (bunker *BunkerClient) RPC(ctx context.Context, method string, params []string) (string, error) { - id := bunker.idPrefix + "-" + strconv.FormatUint(bunker.serial.Add(1), 10) + id := bunker.idPrefix + "-" + strconv.FormatUint(bunker.serial.Add(1), 10) + "-" + method req, err := json.Marshal(Request{ ID: id, Method: method,