nip46: request ids more debuggable.

This commit is contained in:
fiatjaf
2026-05-18 22:14:04 -03:00
parent d27cf276d1
commit e259db5881
+1 -1
View File
@@ -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,