channeldb/migration_01_to_11: remove unused code

This commit is contained in:
Joost Jager committed 2019-10-31 07:18:36 +01:00
1 parent f5191440c5
commit 60503d6c44
33 files changed
+1 -17048

No files matched your search

-6
View File
@@ -48,12 +48,6 @@ type UnknownElementType struct {
element interface{}
}
// NewUnknownElementType creates a new UnknownElementType error from the passed
// method name and element.
func NewUnknownElementType(method string, el interface{}) UnknownElementType {
return UnknownElementType{method: method, element: el}
}
// Error returns the name of the method that encountered the error, as well as
// the type that was unsupported.
func (e UnknownElementType) Error() string {