Skip to content

Commit

Permalink
update nearcore; fix validators method
Browse files Browse the repository at this point in the history
  • Loading branch information
miraclx committed Sep 21, 2021
1 parent 6ecaa19 commit 693a639
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ borsh = "0.9"
serde = "1.0.127"
serde_json = "1.0.66"

near-primitives = { git = "https://github.com/near/nearcore", rev="526381542c1e5c0012d89fc308f370e45543374f" }
near-chain-configs = { git = "https://github.com/near/nearcore", rev="526381542c1e5c0012d89fc308f370e45543374f" }
near-client-primitives = { git = "https://github.com/near/nearcore", rev="526381542c1e5c0012d89fc308f370e45543374f" }
near-jsonrpc-primitives = { git = "https://github.com/near/nearcore", rev="526381542c1e5c0012d89fc308f370e45543374f" }
near-primitives = { git = "https://github.com/near/nearcore", rev="4306275e57edf6a918e73b2b442ffb110761a264" }
near-chain-configs = { git = "https://github.com/near/nearcore", rev="4306275e57edf6a918e73b2b442ffb110761a264" }
near-client-primitives = { git = "https://github.com/near/nearcore", rev="4306275e57edf6a918e73b2b442ffb110761a264" }
near-jsonrpc-primitives = { git = "https://github.com/near/nearcore", rev="4306275e57edf6a918e73b2b442ffb110761a264" }

[dev-dependencies]
tokio = { version = "1.1", features = ["rt", "macros"] }
Expand Down
2 changes: 1 addition & 1 deletion src/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ impl_method! {
type Result = EpochValidatorInfo;
type Error = RpcValidatorError;

params(&self) { json!([self]) }
params(&self) { json!(self) }
}
}
}
Expand Down

0 comments on commit 693a639

Please sign in to comment.