Add directive to Sprintf call to pass make test on go1.10

This commit is contained in:
Adrian Brink 2018-02-18 14:09:22 +01:00
parent 8fc12a5265
commit b457a4363f
No known key found for this signature in database
GPG Key ID: F61053D3FBD06353
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ func (rs *rootMultiStore) MountStoreWithDB(key StoreKey, typ StoreType, db dbm.D
panic("MountIAVLStore() key cannot be nil") panic("MountIAVLStore() key cannot be nil")
} }
if _, ok := rs.storesParams[key]; ok { if _, ok := rs.storesParams[key]; ok {
panic(fmt.Sprintf("rootMultiStore duplicate store key", key)) panic(fmt.Sprintf("rootMultiStore duplicate store key %v", key))
} }
rs.storesParams[key] = storeParams{ rs.storesParams[key] = storeParams{
db: db, db: db,