Deep Hash Clarification
Closed this issue · 4 comments
skilesare commented
The ANS104 specifies that the deep hash should use the following:
[
utf8Encoded("dataitem"),
utf8Encoded("1"),
owner,
target,
anchor,
[
... [ tag.name, tag.value ],
... [ tag.name, tag.value ],
...
],
data
]
The code in this project adds a stringToBuffer(item.signatureType.toString()), as the third element. I'm curious where this update is specified.
JesseTheRobot commented
@skilesare , where did you get that information from? It sounds like it's an out of date/older version of the spec
skilesare commented
JesseTheRobot commented
ah, yeah that spec needs updating
JesseTheRobot commented
defer to the implementation until it's updated