Merge pull request #701 from molecula/fix-rbf-race

Remove duplicate checkpoint() invocation
This commit is contained in:
jaten-molecula 2020-08-24 16:19:20 -04:00 committed by GitHub
commit c5660ed712
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
}