witnet / witnet-rust

Open source Rust implementation of the Witnet decentralized oracle protocol, including full node and wallet backend 👁️🦀
https://docs.witnet.io
GNU General Public License v3.0
180 stars 56 forks source link

(fix): switch query-stakes arguments #2460

Closed drcpu-github closed 4 months ago

drcpu-github commented 4 months ago

The arguments to the query_stakes function in with_node.rs were in the incorrect order which resulted in querying the withdrawer when a validator was requested and vice versa.