mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
Fix error message for ledger signing
This commit is contained in:
parent
feab4cc48a
commit
87678c58ac
@ -64,7 +64,7 @@
|
||||
else {
|
||||
bridge.sendCommand('test', null, 5)
|
||||
.catch(function (reason) {
|
||||
if (reason.message === "Sign failed")
|
||||
if (reason.name === "TransportError")
|
||||
reason = "Have you forgot to activate browser support in your ledger app?";
|
||||
Write('hw', 'error', reason);
|
||||
})
|
||||
|
@ -135,7 +135,7 @@ $(function () {
|
||||
bridge.sendCommand('test', null, 5)
|
||||
.catch(function (reason)
|
||||
{
|
||||
if (reason.message === "Sign failed")
|
||||
if (reason.name === "TransportError")
|
||||
reason = "Are you running the ledger app with version equals or above 1.2.4?";
|
||||
Write('hw', 'error', reason);
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user