mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-08 04:11:08 +03:00
Fix for hyper interface change
This commit is contained in:
parent
afb219ce5c
commit
f16c4ac59b
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ pub fn gist_seeds(h: reactor::Handle) -> Box<Future<Item = Vec<SocketAddr>, Erro
|
||||||
client.get(url)
|
client.get(url)
|
||||||
.map_err(|e| e.to_string())
|
.map_err(|e| e.to_string())
|
||||||
.and_then(|res| {
|
.and_then(|res| {
|
||||||
if *res.status() != hyper::Ok {
|
if res.status() != hyper::Ok {
|
||||||
return Err(format!("Gist request failed: {}", res.status()));
|
return Err(format!("Gist request failed: {}", res.status()));
|
||||||
}
|
}
|
||||||
Ok(res)
|
Ok(res)
|
||||||
|
|
Loading…
Reference in a new issue