ui improvement

This commit is contained in:
John Smith
2021-12-14 14:20:05 -05:00
parent c4b66aad36
commit 3b54c2f8bd
3 changed files with 10 additions and 19 deletions

View File

@@ -89,13 +89,13 @@ macro_rules! map_error_panic {
};
}
#[derive(Clone)]
#[derive(Debug, Clone)]
pub enum Destination {
Direct(NodeRef),
PrivateRoute(PrivateRoute),
}
#[derive(Clone)]
#[derive(Debug, Clone)]
pub enum RespondTo {
None,
Sender,
@@ -320,6 +320,7 @@ impl RPCProcessor {
if nr.node_id() != node_id {
// found a close node, but not exact within our configured resolve_node timeout
error!("XXX: Timeout");
return Err(RPCError::Timeout);
}