fixed sign in bug

This commit is contained in:
sairaj mote 2020-08-26 10:56:28 +05:30 committed by GitHub
parent 14221b3a76
commit b764d385db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -781,7 +781,7 @@
let keyInput = signInBox.getElementsByTagName('input')[0]; let keyInput = signInBox.getElementsByTagName('input')[0];
let key = keyInput.value; let key = keyInput.value;
keyInput.value = ''; keyInput.value = '';
if(floCrypto.getPubKeyHex(keyInput)){ if(floCrypto.getPubKeyHex(key)){
buttons[0].onclick = null; buttons[0].onclick = null;
buttons[1].onclick = null; buttons[1].onclick = null;
signInBox.classList.add('hide') signInBox.classList.add('hide')
@ -10786,4 +10786,4 @@ Bitcoin.Util = {
</script> </script>
</body> </body>
</html> </html>