lnd.xprv/kvdb/debug.go
Andras Banki-Horvath 96caa6f242
etcd: remove assertion when creating bucket and value with the same key
This commit removes an assertion which is not needed because with etcd
we can safely create keys and values with the same key since they are
stored under different keys in the DB. This saves us one unnecessary Get
on every Put.
2021-07-16 16:06:32 +02:00

9 lines
89 B
Go

// +build dev
package kvdb
const (
// Switch on extra debug code.
etcdDebug = true
)