diff options
Diffstat (limited to 'format/commitgraph')
| -rw-r--r-- | format/commitgraph/read/layer_lookup.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/format/commitgraph/read/layer_lookup.go b/format/commitgraph/read/layer_lookup.go index 84095788..fafc594b 100644 --- a/format/commitgraph/read/layer_lookup.go +++ b/format/commitgraph/read/layer_lookup.go @@ -9,7 +9,7 @@ import ( ) func layerLookup(layer *layer, oid objectid.ObjectID) (uint32, bool) { - hashSize := oid.Size() + hashSize := oid.Algorithm().Size() first := int(oid.RawBytes()[0]) var lo uint32 |
