Skip to content

Commit

Permalink
Fix Bug
Browse files Browse the repository at this point in the history
Accounts change need to reset wallet publicKey
  • Loading branch information
joshuamind committed Jun 6, 2023
1 parent 9cf86b4 commit a3ef67a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ Full doc: [https://mind-network.gitbook.io/mind-lake-sdk](https://mind-network.g

* v1.0.0
* Initial Release
* v1.0.1
* Fix bug

## License

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": "mind-lake-sdk",
"version": "1.0.0",
"version": "1.0.1",
"description": "",
"module": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/util/web3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export class Web3Interact {
this.mkCipherBuffer = undefined!;
this.mkBuffer = undefined!;
this.privateKeyCipherBuffer = undefined!;
this.publicKey = undefined!;
}
}

Expand Down Expand Up @@ -223,6 +224,7 @@ export class Web3Interact {
return { privateKeyPem, publicKeyPem };
}


/**
*load keys form chain
*/
Expand Down

1 comment on commit a3ef67a

@duranvuran
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great found

Please sign in to comment.