We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
这里应该检查所有的outputs,只有都满足条件才将 ifClaimGas 设置为 false;否则一个output满足就可以绕过这个检查,并没修复那个漏洞。 也许可以改为:
bool ifClaimGas = false; foreach (var output in outputs) { if (output.ScriptHash.AsBigInteger() != currentHash.AsBigInteger() || output.AssetId.AsBigInteger() != AssetId.AsBigInteger()) ifClaimGas = true;
Originally posted by @chenzhitong in #6 (comment)
The text was updated successfully, but these errors were encountered:
We have to wait for Red4sec's audit before merge.
Sorry, something went wrong.
No branches or pull requests
这里应该检查所有的outputs,只有都满足条件才将 ifClaimGas 设置为 false;否则一个output满足就可以绕过这个检查,并没修复那个漏洞。
也许可以改为:
Originally posted by @chenzhitong in #6 (comment)
The text was updated successfully, but these errors were encountered: