diff --git a/index.html b/index.html
index 8494856..858f55f 100644
--- a/index.html
+++ b/index.html
@@ -781,7 +781,7 @@
let keyInput = signInBox.getElementsByTagName('input')[0];
let key = keyInput.value;
keyInput.value = '';
- if(floCrypto.getPubKeyHex(keyInput)){
+ if(floCrypto.getPubKeyHex(key)){
buttons[0].onclick = null;
buttons[1].onclick = null;
signInBox.classList.add('hide')
@@ -10786,4 +10786,4 @@ Bitcoin.Util = {