Fix get outputs call in wallet (#1319)
* Fix get outputs call in wallet. It generates an invalid url if there are 1000+ outputs. * Also switched to async http client for performance reasons * Couple unrelated cleanups * fixup! Fix get outputs call in wallet
This commit is contained in:
committed by
Ignotus Peverell
parent
498ea9718e
commit
414a30224e
@@ -5,7 +5,6 @@ use hyper::{Body, Method, Request, Response, StatusCode};
|
||||
use std::collections::hash_map::DefaultHasher;
|
||||
use std::hash::{Hash, Hasher};
|
||||
use std::sync::Arc;
|
||||
use util::LOGGER;
|
||||
|
||||
lazy_static! {
|
||||
static ref WILDCARD_HASH: u64 = calculate_hash(&"*");
|
||||
@@ -141,7 +140,6 @@ impl Router {
|
||||
for key in keys {
|
||||
node_id = self.find(node_id, key).ok_or(RouterError::RouteNotFound)?;
|
||||
if self.node(node_id).key == *WILDCARD_STOP_HASH {
|
||||
debug!(LOGGER, "ROUTER stop card");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user