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

LP分红USDT #1

Open
coinsccg opened this issue Apr 22, 2022 · 1 comment
Open

LP分红USDT #1

coinsccg opened this issue Apr 22, 2022 · 1 comment

Comments

@coinsccg
Copy link

你给的gas为500000,要是gasleft比500000小呢,同事你的while循环花费的gas超过了gasleft,这样岂不是交易会失败?

@denghaoming
Copy link
Owner

不会的,它这个的本质,只是最多花费 50 万 gasLimit 去执行分红,你的 while 循环,钱包会为此预估手续费的。

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

2 participants