mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-11-19 09:25:33 +00:00
Remove stale TODO
This commit is contained in:
parent
33a111d879
commit
b989e94322
@ -14,8 +14,6 @@ impl Database {
|
|||||||
Ok(Database(db))
|
Ok(Database(db))
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Add method to update state
|
|
||||||
|
|
||||||
pub async fn insert_latest_state(&self, swap_id: Uuid, state: Swap) -> Result<()> {
|
pub async fn insert_latest_state(&self, swap_id: Uuid, state: Swap) -> Result<()> {
|
||||||
let key = serialize(&swap_id)?;
|
let key = serialize(&swap_id)?;
|
||||||
let new_value = serialize(&state).context("Could not serialize new state value")?;
|
let new_value = serialize(&state).context("Could not serialize new state value")?;
|
||||||
|
Loading…
Reference in New Issue
Block a user