mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-18 23:51:21 +00:00
linting: add to Makefile & do some fixes
This commit is contained in:
@ -10,7 +10,7 @@ type CMap struct {
|
||||
|
||||
func NewCMap() *CMap {
|
||||
return &CMap{
|
||||
m: make(map[string]interface{}, 0),
|
||||
m: make(map[string]interface{}),
|
||||
}
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ func (cm *CMap) Size() int {
|
||||
func (cm *CMap) Clear() {
|
||||
cm.l.Lock()
|
||||
defer cm.l.Unlock()
|
||||
cm.m = make(map[string]interface{}, 0)
|
||||
cm.m = make(map[string]interface{})
|
||||
}
|
||||
|
||||
func (cm *CMap) Values() []interface{} {
|
||||
|
Reference in New Issue
Block a user