aboutsummaryrefslogtreecommitdiff
path: root/object/header/append.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/header/append.go')
-rw-r--r--object/header/append.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/object/header/append.go b/object/header/append.go
index 8c0d928c..6d824740 100644
--- a/object/header/append.go
+++ b/object/header/append.go
@@ -12,7 +12,7 @@ func Append(dst []byte, ty objecttype.Type, size int64) ([]byte, bool) {
return nil, false
}
- tyName, ok := objecttype.Name(ty)
+ tyName, ok := ty.Name()
if !ok {
return nil, false
}