allow rbf-tx-cursor-stack-allocate to merge; fix conflict with the new HasData code

This commit is contained in:
Jason Aten 2020-09-16 22:35:30 -05:00
parent c04642f34b
commit 9b99009871

View file

@ -594,8 +594,6 @@ func (db *DB) HasData(requireOneHotBit bool) (hasAnyRecords bool, err error) {
cur, err := tx.Cursor(record.Name)
if err != nil {
return false, err
} else if cur == nil {
continue // no bitmap
}
if !requireOneHotBit {
return true, nil