This question is an exact duplicate of:

The previous question remained unanswered, which is why I am asking again !

Whether I will be able to withdraw the funds if the funding goal has been NOT reached, BY TRIGGERING this functions;

function ownerSafeWithdrawal() external onlyOwner  {
        uint balanceToSend = address(this).balance;
        emit FundTransfer(beneficiary, balanceToSend, false);

function checkFundingGoal() internal {
        if (!fundingGoalReached) {
            if (amountRaised >= fundingGoal) {
                fundingGoalReached = true;
                emit GoalReached(beneficiary, amountRaised);

My contract is here: https://ropsten.etherscan.io/address/0xbe1121b96da695cbe68cf8e41f2fba6ea9eb80e9#code

Thank You Robert

marked as duplicate by Community Jul 3 '18 at 9:35

This question was marked as an exact duplicate of an existing question.

  • Re-posting your question for more visibility is ill advised. If you would award a bounty on your question, you could get the visibility you need. – Vignesh Karthikeyan Jul 3 '18 at 14:54

Seems to me like fundingGoalReached is not at all linked to ownerSafeWithdrawal. So yes, you should be able to withdraw the funds by triggering the function.

Not the answer you're looking for? Browse other questions tagged or ask your own question.