* Check vouch status on appId in addition to contentHash (#6719)

* Check vouch status on appId in addition to contentHash

* Simplify var expansion

* Merge #6725

* Add updated MethodDecoding from master
This commit is contained in:
Jaco Greeff
2017-10-12 20:26:08 +02:00
committed by arkpar
parent eee0e6f295
commit 69f53ffb2b
20 changed files with 787 additions and 351 deletions

View File

@@ -105,7 +105,7 @@ export default class BadgeReg {
]);
})
.then(([ title, icon ]) => {
title = bytesToHex(title);
title = bytesToHex(title).replace(/(00)+$/, '');
title = title === ZERO32 ? null : hexToAscii(title);
if (bytesToHex(icon) === ZERO32) {