Merge pull request #477 from cosmos/feature/go10

Add directive to Sprintf call to pass make test on go1.10
This commit is contained in:
Ethan Buchman
2018-02-18 11:07:57 -05:00
committed by GitHub
+1 -1
View File
@@ -53,7 +53,7 @@ func (rs *rootMultiStore) MountStoreWithDB(key StoreKey, typ StoreType, db dbm.D
panic("MountIAVLStore() key cannot be nil")
}
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{
db: db,