diff --git a/lnbits/extensions/watchonly/static/components/serial-signer/serial-signer.js b/lnbits/extensions/watchonly/static/components/serial-signer/serial-signer.js index 67049f8b4..0e705ae83 100644 --- a/lnbits/extensions/watchonly/static/components/serial-signer/serial-signer.js +++ b/lnbits/extensions/watchonly/static/components/serial-signer/serial-signer.js @@ -526,7 +526,7 @@ async function serialSigner(path) { const encryptedIvHex = nobleSecp256k1.utils.bytesToHex(iv) try { await this.writer.write( - COMMAND_CHECK_SECURE_CONNECTION + + COMMAND_CHECK_PAIRING + ' ' + encryptedHex + encryptedIvHex + diff --git a/lnbits/extensions/watchonly/static/js/utils.js b/lnbits/extensions/watchonly/static/js/utils.js index 152e838e8..e39ecec3c 100644 --- a/lnbits/extensions/watchonly/static/js/utils.js +++ b/lnbits/extensions/watchonly/static/js/utils.js @@ -14,7 +14,7 @@ const COMMAND_CANCEL = '/cancel' const COMMAND_XPUB = '/xpub' const COMMAND_DH_EXCHANGE = '/dh-exchange' const COMMAND_LOG = '/log' -const COMMAND_CHECK_SECURE_CONNECTION = '/check-connection' +const COMMAND_CHECK_PAIRING = '/check-pairing' const DEFAULT_RECEIVE_GAP_LIMIT = 20