Clean up warnings

This commit is contained in:
Age Manning
2019-04-01 12:14:23 +11:00
parent 9a0ebac687
commit 170f993032
3 changed files with 2 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ impl ValidatorService for ValidatorServiceInstance {
RpcStatusCode::InvalidArgument,
Some("Invalid public_key".to_string()),
))
.map_err(move |e| warn!(log_clone, "failed to reply {:?}", req));
.map_err(move |_| warn!(log_clone, "failed to reply {:?}", req));
return ctx.spawn(f);
}
};