mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-03 19:41:24 -05:00
Merge pull request #255 from aboodman/js-set-decode
js: Fix stupid bug in implementation of Ref.hashCode()
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ class Ref{
|
||||
}
|
||||
|
||||
hashCode() {
|
||||
return parseInt(this.ref.slice(0, 8), 16);
|
||||
return parseInt(this.ref.slice(-8), 16);
|
||||
}
|
||||
|
||||
// BUG 88 (instance of is failing in dev build)
|
||||
|
||||
Reference in New Issue
Block a user