Rename Bob's Behavior Failure to CommunicationError

Failure does not express what the error represents. It is only used for communication
errors for quote requests, receiving the XMR transfer proof and sending the encryption signature.
This commit is contained in:
Daniel Karzel 2021-02-26 16:02:44 +11:00
parent 08b036142f
commit e66e84085b
2 changed files with 5 additions and 5 deletions

View file

@ -192,7 +192,7 @@ impl EventLoop {
debug!("Alice acknowledged encrypted signature");
}
OutEvent::ResponseSent => {}
OutEvent::Failure(err) => {
OutEvent::CommunicationError(err) => {
error!("Communication error: {:#}", err)
}
}