Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-neti committed Dec 11, 2024
1 parent 01f622c commit 942cdab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/wallet/LedgerWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ export class LedgerWallet extends BaseWallet {
this.ledgerApp = new FilecoinApp(transport)
const version = await this.ledgerApp.getVersion()

if (
version.return_code === 65535 || version.return_code === 21781
) {
if (version.return_code === 65535 || version.return_code === 21781) {
throw new Error('Ledger locked. Please, unlock it.')
}

Expand Down

0 comments on commit 942cdab

Please sign in to comment.