Implement Merkle hash verification
diff --git a/js/encoding/BinaryXMLDecoder.js b/js/encoding/BinaryXMLDecoder.js
index 4f516d6..3381403 100644
--- a/js/encoding/BinaryXMLDecoder.js
+++ b/js/encoding/BinaryXMLDecoder.js
@@ -429,9 +429,9 @@
};
-//returns a byte[]
+//returns a uint8array
BinaryXMLDecoder.prototype.readBlob = function() {
- //byte []
+ //uint8array
var blob = this.decodeBlob();
this.readEndElement();
@@ -649,7 +649,7 @@
return this.decodeUString(tv.val());
}
else{
- //byte []
+ //uint8array
var stringBytes = this.decodeBlob(byteLength);
//return DataUtils.getUTF8StringFromBytes(stringBytes);