Remove stale TODO

This commit is contained in:
Lucas Soriano del Pino 2020-11-03 16:54:16 +11:00 committed by rishflab
parent 33a111d879
commit b989e94322

View File

@ -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")?;