update test vectors

This commit is contained in:
Daniil Sobol 2024-01-23 03:56:11 +03:00
parent 107d81dbc9
commit 090528bbbf
No known key found for this signature in database
GPG Key ID: 5121E3B3F2304E22
1 changed files with 2 additions and 2 deletions

View File

@ -25,10 +25,10 @@ suite "State Content Keys":
check encoded.toHex() == evenNibles
# echo ">>>", encoded.toHex()
const oddNibbles = "0105000000123456789abc0d"
const oddNibbles = "01050000000123456789abcd"
test "Encode/decode odd nibbles":
const
packedNibbles = Nibbles.packedNibbles.init(@[NibblePair 0x12, 0x34, 0x56, 0x78, 0x9A, 0xBC, 0x0D])
packedNibbles = Nibbles.packedNibbles.init(@[NibblePair 0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD])
isOddLength = true
let