Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wallet overwrite #17

Open
duya1231 opened this issue Nov 9, 2018 · 8 comments
Open

wallet overwrite #17

duya1231 opened this issue Nov 9, 2018 · 8 comments
Labels
bug Something isn't working

Comments

@duya1231
Copy link

duya1231 commented Nov 9, 2018

WalletManager persistWallet方法中调用的Identity.getCurrentIdentity().addWallet没有overwirte

@XuNeal
Copy link
Contributor

XuNeal commented Nov 21, 2018

一般不建议手动调用addWallet,可以通过WalletManager的import*API来添加新的钱包。
另外identity下的钱包都是该身份,或者说助记词下推导的钱包。不能直接手动添加

@duya1231
Copy link
Author

调用的WalletManager.importWalletFromPrivateKeys,这个api内部会调用上述方法

@XuNeal
Copy link
Contributor

XuNeal commented Dec 7, 2018

十分感谢,我核对了一下这部分确实存在问题,这个问题会导致identity keystore文件中存在两个同样id的钱包信息。不过imToken在前端做了去重所以这个问题一直没有曝露。
十分感谢我们尽快修复这个问题,不过这个问题不会阻塞你功能使用,请继续支持imToken

@XuNeal XuNeal added the bug Something isn't working label Dec 7, 2018
@hurunboy
Copy link

I have also had this problem, how should I solve it?

@duya1231
Copy link
Author

你可以先删除后倒入

@VVanaheim

This comment has been minimized.

@censhengde
Copy link

how to get the UTXO parameters??

@XuNeal
Copy link
Contributor

XuNeal commented Jun 8, 2020

@censhengde pls check #44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

5 participants