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

检查合约中 localdb的处理有没有考虑交易不成功的情况 #67

Closed
vipwzw opened this issue Nov 23, 2018 · 4 comments
Closed
Assignees

Comments

@vipwzw
Copy link
Collaborator

vipwzw commented Nov 23, 2018

func (c *Coins) ExecDelLocal_Transfer(transfer *types.AssetsTransfer, tx *types.Transaction, receipt *types.ReceiptData, index int) (*types.LocalDBSet, error) {
 	if receipt.GetTy() != types.ExecOk {
 		return &types.LocalDBSet{}, nil
 	}
       ....
@vipwzw
Copy link
Collaborator Author

vipwzw commented Nov 23, 2018

南京这边的合约 由 @andyYuanFZM 负责, 其他的由 @mdj33 负责

@andyYuanFZM
Copy link
Collaborator

好的

@vipwzw
Copy link
Collaborator Author

vipwzw commented Nov 23, 2018

可能会发生类似的情况:
33cn/chain33#90

@andyYuanFZM
Copy link
Collaborator

cert, hashlock, valnode这三个合约会加一下这个判断。其它看了下都有判断。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants