Change endianness to BigEndian :(

Change endianness to BigEndian (ಥ﹏ಥ), spec has been updated to achieve
compatibility with js & smart contracts & circuits implementations.
This commit is contained in:
arnaucube
2020-09-18 09:39:58 +02:00
parent 92fa8aa439
commit 3013fbacb6
11 changed files with 146 additions and 130 deletions

View File

@@ -106,7 +106,7 @@ func TestAccountHashValue(t *testing.T) {
v, err := account.HashValue()
assert.Nil(t, err)
assert.Equal(t, "16085711911723375585301279875451049849443101031421093098714359651259271023730", v.String())
assert.Equal(t, "9478468711598093334066833736294178928569163287501434518121324135729106649559", v.String())
}
func TestAccountErrNotInFF(t *testing.T) {