mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
96caa6f242
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.
9 lines
92 B
Go
9 lines
92 B
Go
// +build !dev
|
|
|
|
package kvdb
|
|
|
|
const (
|
|
// Switch off extra debug code.
|
|
etcdDebug = false
|
|
)
|