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,