Commit 4e836b4b authored by inso's avatar inso
Browse files

Fix parsing of endpoints

It is not needed anymore to remove trailing signature since
we fixed GenericParser.js to get the correct raw document
parent b1a2687e
......@@ -25,9 +25,6 @@ function PeerParser (onError) {
obj.documentType = 'peer';
obj.endpoints = obj.endpoints || [];
// Removes trailing space
if (obj.endpoints.length > 0)
obj.endpoints.splice(obj.endpoints.length - 1, 1);
// Removes trailing signature
if (obj.endpoints.length > 0)
obj.endpoints.splice(obj.endpoints.length - 1, 1);
obj.getBMA = function() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment