Skip to content

Commit

Permalink
Fix accounts import (#4)
Browse files Browse the repository at this point in the history
* fix minor bug

* update version
  • Loading branch information
klassare authored Jul 13, 2018
1 parent b71c050 commit 5f3a525
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kukai",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",
"scripts": {
"ng": "ng",
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/import.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class ImportService {
if (data[i].type.operations[0].kind === 'reveal') {
index = 1;
}
const KT = data[i].type.operations[i].tz1;
const KT = data[i].type.operations[index].tz1;
if (KT !== pkh) {
this.walletService.addAccount(KT);
console.log('Added: ' + KT);
Expand Down
2 changes: 1 addition & 1 deletion src/electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kukai",
"version": "1.0.1",
"version": "1.0.2",
"main": "main.js",
"scripts": {
"start": "electron ."
Expand Down

0 comments on commit 5f3a525

Please sign in to comment.