From b989e94322c6b42228ec24322a72ab1275c474ca Mon Sep 17 00:00:00 2001 From: Lucas Soriano del Pino Date: Tue, 3 Nov 2020 16:54:16 +1100 Subject: [PATCH] Remove stale TODO --- swap/src/storage.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/swap/src/storage.rs b/swap/src/storage.rs index c0a11a90..4a0664b6 100644 --- a/swap/src/storage.rs +++ b/swap/src/storage.rs @@ -14,8 +14,6 @@ impl Database { Ok(Database(db)) } - // TODO: Add method to update state - pub async fn insert_latest_state(&self, swap_id: Uuid, state: Swap) -> Result<()> { let key = serialize(&swap_id)?; let new_value = serialize(&state).context("Could not serialize new state value")?;