mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
refactor: rename command
This commit is contained in:
parent
fb60673f67
commit
faa9a017a4
@ -526,7 +526,7 @@ async function serialSigner(path) {
|
|||||||
const encryptedIvHex = nobleSecp256k1.utils.bytesToHex(iv)
|
const encryptedIvHex = nobleSecp256k1.utils.bytesToHex(iv)
|
||||||
try {
|
try {
|
||||||
await this.writer.write(
|
await this.writer.write(
|
||||||
COMMAND_CHECK_SECURE_CONNECTION +
|
COMMAND_CHECK_PAIRING +
|
||||||
' ' +
|
' ' +
|
||||||
encryptedHex +
|
encryptedHex +
|
||||||
encryptedIvHex +
|
encryptedIvHex +
|
||||||
|
@ -14,7 +14,7 @@ const COMMAND_CANCEL = '/cancel'
|
|||||||
const COMMAND_XPUB = '/xpub'
|
const COMMAND_XPUB = '/xpub'
|
||||||
const COMMAND_DH_EXCHANGE = '/dh-exchange'
|
const COMMAND_DH_EXCHANGE = '/dh-exchange'
|
||||||
const COMMAND_LOG = '/log'
|
const COMMAND_LOG = '/log'
|
||||||
const COMMAND_CHECK_SECURE_CONNECTION = '/check-connection'
|
const COMMAND_CHECK_PAIRING = '/check-pairing'
|
||||||
|
|
||||||
const DEFAULT_RECEIVE_GAP_LIMIT = 20
|
const DEFAULT_RECEIVE_GAP_LIMIT = 20
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user