Skip to content

Commit

Permalink
Do not clear accounts on adding
Browse files Browse the repository at this point in the history
  • Loading branch information
vbaranov committed Dec 21, 2018
1 parent 8788c83 commit 949e378
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ class LedgerBridgeKeyring extends EventEmitter {
.then(async _ => {
const from = this.unlockedAccount
const to = from + n
this.accounts = []
//do not clear previous accounts on adding
// this.accounts = []
for (let i = from; i < to; i++) {
let address
if (this._isBIP44()) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eth-ledger-bridge-keyring",
"version": "0.1.1",
"version": "0.1.2",
"description": "A MetaMask compatible keyring, for ledger hardware wallets",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 949e378

Please sign in to comment.