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

挖矿时,无法自动close #23

Closed
xies1031 opened this issue Nov 19, 2018 · 5 comments
Closed

挖矿时,无法自动close #23

xies1031 opened this issue Nov 19, 2018 · 5 comments
Labels
bug Something isn't working

Comments

@xies1031
Copy link

开启自动挖矿的钱包挖矿时,不会自动close
地址:1K7Fko7e21F2qXdYriVLheJue5ZW5KerZL

@jixingwei
Copy link
Contributor

可能之前的本地数据没有清除,虽然新版本不会再次产生这种情况,但是老的数据还在,一种办法是在代码里加一个规避,wallet从ticket执行器获取到票的时候,再进行一次判断过滤,把状态是3的过滤掉,不再触发这个票的关闭(List是从localDB找的,返回的数据在stateDB,所以可以再次判断状态)

@jixingwei
Copy link
Contributor

@vipwzw 看看这样做行不行

@vipwzw
Copy link
Collaborator

vipwzw commented Nov 22, 2018

重新新升级localdb 可以解决这个问题吗?如果可以,把localdb的version 提高就可以了。

@jixingwei
Copy link
Contributor

应该可以,前面的错误交易还是执行不过,但是等到后面这个节点再去发关闭交易的时候,不会带上这个已经关闭的票了

@vipwzw
Copy link
Collaborator

vipwzw commented Nov 23, 2018

重新升级localdb 已经可以了。

@vipwzw vipwzw closed this as completed Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants