Browse Source
Remove pending roll over proposal upon rejection
debug-statements
Daniel Karzel
3 years ago
No known key found for this signature in database
GPG Key ID: 30C3FC2E438ADB6E
1 changed files with
3 additions and
4 deletions
-
daemon/src/taker_cfd.rs
|
|
@ -248,11 +248,10 @@ impl<O, M> Actor<O, M> { |
|
|
|
} |
|
|
|
|
|
|
|
async fn handle_roll_over_rejected(&mut self, order_id: OrderId) -> Result<()> { |
|
|
|
tracing::debug!(%order_id, "Roll over request rejected"); |
|
|
|
// TODO: tell UI that roll over was rejected
|
|
|
|
tracing::info!(%order_id, "Roll over proposal got rejected"); |
|
|
|
|
|
|
|
// this is not too bad as we are still monitoring for the CFD to expiry
|
|
|
|
// the taker can just try to ask again :)
|
|
|
|
self.remove_pending_proposal(&order_id) |
|
|
|
.context("rejected settlement")?; |
|
|
|
|
|
|
|
Ok(()) |
|
|
|
} |
|
|
|