solidity合約常見操作錯誤

browser/fgfx.sol:95:17: TypeError: "send" and "transfer" are only available for objects of type "address payable", not "address".
require(payee.send(payment));
^--------^

address payable addr3 = address(uint160(c.beneficiary));

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章