From 162bd0303a6b48a9cf692a122ed0aa37bfc6d5da Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Fri, 21 Aug 2020 08:25:04 -0600 Subject: [PATCH] Remove duplicate checkpoint() invocation --- rbf/tx.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rbf/tx.go b/rbf/tx.go index 450ecb815..9135ef752 100644 --- a/rbf/tx.go +++ b/rbf/tx.go @@ -86,10 +86,6 @@ func (tx *Tx) Commit() error { tx.db.mu.Unlock() } - if err := tx.db.checkpoint(); err != nil { - return err - } - // Disconnect transaction from DB. return tx.db.removeTx(tx) }