From 80f9e6a45ff054aa73095d2d24203631c5174fbc Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Fri, 13 Aug 2021 12:28:57 +0800 Subject: [PATCH] Revise DB interface --- db/types.go | 1 - 1 file changed, 1 deletion(-) diff --git a/db/types.go b/db/types.go index 8755f0fee583..2c090c7f08d4 100644 --- a/db/types.go +++ b/db/types.go @@ -112,7 +112,6 @@ type DBWriter interface { Delete([]byte) error // Flushes pending writes and discards the transaction. - // TODO: maybe change to Flush() and follow WriteBatch semantics (ie. don't discard) Commit() error // Discards the transaction, invalidating any future operations on it.