aboutsummaryrefslogtreecommitdiff
path: root/objects/id.go
diff options
context:
space:
mode:
Diffstat (limited to 'objects/id.go')
-rw-r--r--objects/id.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/objects/id.go b/objects/id.go
index 22eeaa2..e651801 100644
--- a/objects/id.go
+++ b/objects/id.go
@@ -101,7 +101,7 @@ func (h hashObjectIdGenerator) GetId() ObjectId {
}
}
-func (oid ObjectId) VerifyObject(o Object) bool {
+func (oid ObjectId) VerifyObject(o RawObject) bool {
gen := oid.Algo.Generator()
if err := o.Serialize(gen); err != nil {
panic(err)