1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 18:10:51 +01:00

Allow any JSON type for request 'id'

This commit is contained in:
Roman Zeyde 2020-10-29 08:55:08 +02:00
parent aac7669471
commit 96e3e6222e
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

View File

@ -117,7 +117,7 @@ fn notification(method: &str, params: &[Value]) -> Value {
#[derive(Debug, Deserialize, Serialize)]
struct Request {
id: u64,
id: Value,
jsonrpc: String,
method: String,