首页 > 解决方案 > 为什么从我的合同中撤销 FTM 失败?

问题描述

这是我的代码:

    function WithdrawBalance () onlyOwner public payable {
        msg.sender.transfer(address(this).balance);
    }

它适用于以太坊 rikeby 网络,但在 Fantom 上失败了。

有谁知道是什么问题?

标签: fantom

解决方案


推荐阅读