mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 06:31:57 +00:00
libs/common: refactor libs/common 2 (#4231)
* libs/common: refactor libs/common 2 - move random function to there own pkg Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * change imports and usage throughout repo * fix goimports * add changelog entry
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ type DBProvider struct {
|
||||
func NewDBProvider(label string, db dbm.DB) *DBProvider {
|
||||
|
||||
// NOTE: when debugging, this type of construction might be useful.
|
||||
//db = dbm.NewDebugDB("db provider "+cmn.RandStr(4), db)
|
||||
//db = dbm.NewDebugDB("db provider "+rand.RandStr(4), db)
|
||||
|
||||
cdc := amino.NewCodec()
|
||||
cryptoamino.RegisterAmino(cdc)
|
||||
|
||||
Reference in New Issue
Block a user