-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ledger: Avoid confirming wallet address at each operation #127
- bind ledger communication to the open/close events - unify naming of the transaction dialog
- Loading branch information
1 parent
6bc8af8
commit 4974b40
Showing
7 changed files
with
68 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -411,7 +411,9 @@ class LedgerHub implements LedgerTaskRunner { | |
const task = new LedgerTask( | ||
null, | ||
handleResponse, | ||
(reason) => handleResponse(null), | ||
() => {}, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
TobiaszCudnik
Author
Contributor
|
||
// TODO error handler | ||
// (reason) => handleResponse(null), | ||
async () => { | ||
const accountPath = new DposAccount() | ||
.coinIndex(SupportedCoin.RISE) | ||
|
@TobiaszCudnik what kind of "flooding" are you referring to. Because blindly just removing the error propagation like you've done here probably just creates several more bugs.