tx: remove outdated comment ()

After commit #37e96de, it reports errs in the panic

Co-authored-by: makdonmai(麦栋铖) <makdonmai@wesure.cn>
pull/274/head
Makdon 2021-04-17 05:42:49 +08:00 committed by GitHub
parent 5082d3bbc2
commit 8c171443bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

1
tx.go
View File

@ -188,7 +188,6 @@ func (tx *Tx) Commit() error {
}
// If strict mode is enabled then perform a consistency check.
// Only the first consistency error is reported in the panic.
if tx.db.StrictMode {
ch := tx.Check()
var errs []string