Skip to content

Commit

Permalink
Fix for Ledger path in hardened runtime (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
floating authored Sep 11, 2019
1 parent ff52acf commit 9a84f33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion main/signers/ledger/Ledger/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ class Ledger extends Signer {
async getDeviceAddress (i, cb) {
if (this.pause) return cb(new Error('Device access is paused'))
try {

const { address } = await this.getAddress(this.getPath(i), false, true)
cb(null, address)
} catch (err) {
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"tar.gz"
]
},
"mac": {
"hardenedRuntime": false
},
"win": {},
"files": [
"main",
Expand Down

0 comments on commit 9a84f33

Please sign in to comment.