kv: added transactionsV3 to the accessors config (#864)

This commit is contained in:
nanevardanyan 2023-01-29 07:00:42 +04:00 committed by GitHub
parent 206fbadf9c
commit a1ac65bc07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,8 @@ import (
type ConfigKey []byte
var (
HistoryV3 = ConfigKey("history.v3")
HistoryV3 = ConfigKey("history.v3")
TransactionsV3 = ConfigKey("transactions.v3")
)
func (k ConfigKey) Enabled(tx kv.Tx) (bool, error) { return kv.GetBool(tx, kv.DatabaseInfo, k) }