bugfix: [wallet] displaying delegations for native nymnodes (#5087)

* fixed return type for getting nymnode details

* fixed nym-api queries if using relative paths

* fixed queries for delegations of native nymnodes
This commit is contained in:
Jędrzej Stuczyński
2024-11-04 21:15:29 +00:00
committed by GitHub
parent 5cefa7fdd4
commit 2569deb080
5 changed files with 115 additions and 44 deletions
+1
View File
@@ -315,6 +315,7 @@ impl Client {
parse_response(res, true).await
}
#[instrument(level = "debug", skip_all)]
pub async fn get_json_endpoint<T, S, E>(&self, endpoint: S) -> Result<T, HttpClientError<E>>
where
for<'a> T: Deserialize<'a>,