Remove leading sig on login code
commit22725d8e7e0adb47a6e1afaebfeccfb6fb78e8f7
authorLiam Fitzgerald <hastuc-dibtux@gmail.com>
dateThu 24 Oct 2019, 16:54 (7 years ago)
parent5938987
src/lib/networkCode.js+1−1
@@ -46,5 +46,5 @@ export const generateCode = pair => {
4646 const result = shaf(hash, salt);
4747 const half = result.slice(0, result.length / 2);
4848
49− return hex2patp(buf2hex(half));
49+ return hex2patp(buf2hex(half)).slice(1);
5050};