Skip to content
Snippets Groups Projects
Commit 46c6239a authored by Éloïs's avatar Éloïs
Browse files

[fix] #1148 field inversion between ws2pId and software

parent bd65b3cf
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ export class WS2PCluster {
}
}
else if (message.match(WS2PConstants.HEAD_V1_REGEXP)) {
const [,,, pub, blockstamp, software, ws2pId, softVersion, prefix]:string[] = message.split(':')
const [,,, pub, blockstamp, ws2pId, software, softVersion, prefix]:string[] = message.split(':')
const sigOK = verify(message, sig, pub)
const fullId = [pub, ws2pId].join('-')
if (sigOK) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment