关于第三课<通过函数提取合约中的ETH> refund 方法的疑问 #1
Closed
mi1chstrasse
started this conversation in
General
Replies: 2 comments 2 replies
-
因为gas fee是由交易的sender再支付,所以不会在 transfer 的金额中被扣除 |
Beta Was this translation helpful? Give feedback.
2 replies
-
请问这一块在最后清零会不会有被重入攻击的风险? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
此处回退为何不消耗 gas
按视频中的测试,两个账户均发送了0.1 个 eth,回退均得到了 0.1 个 eth。
此时为何不消耗 gas。
按我的理解此地址总转出金额应该小于 0.2eth
Beta Was this translation helpful? Give feedback.
All reactions