Skip to content

Commit

Permalink
chore: indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
r4mmer committed Jan 9, 2024
1 parent 416a4db commit a66063e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions public/ledger.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,14 @@ class Ledger {
console.log(`Got response ${response.toString('hex')}`);
resolve(response);
}, (error) => {
console.log(error);
reject(error);
})
console.log(error);
reject(error);
})
.finally(() => {
console.log('Finished sending command, will retry queue');
// When done, check the queue again
this.checkSendQueue();
});
});
}

/**
Expand Down Expand Up @@ -255,9 +255,9 @@ class Ledger {
this.transport.decorateAppAPIMethods(this, this.methods, "HTR");
resolve(transport);
}, (e) => {
console.log('Error creating transport');
console.log(e);
reject(Ledger.parseLedgerError(e));
console.log('Error creating transport');
console.log(e);
reject(Ledger.parseLedgerError(e));
});
});
return promiseMethod;
Expand Down

0 comments on commit a66063e

Please sign in to comment.