nip46: request ids more debuggable.
This commit is contained in:
+1
-1
@@ -274,7 +274,7 @@ func (bunker *BunkerClient) NIP04Decrypt(
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (bunker *BunkerClient) RPC(ctx context.Context, method string, params []string) (string, error) {
|
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{
|
req, err := json.Marshal(Request{
|
||||||
ID: id,
|
ID: id,
|
||||||
Method: method,
|
Method: method,
|
||||||
|
|||||||
Reference in New Issue
Block a user