refactor: rename command

This commit is contained in:
Vlad Stan 2022-08-18 08:49:46 +03:00
parent fb60673f67
commit faa9a017a4
2 changed files with 2 additions and 2 deletions

View File

@ -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 +

View File

@ -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