I have a fallback function for receive ether on my contract and I have a function for send ether to my contract, also in my contract, I have withdrawal function.
Why is the fallback function not executed when I executed paybaleFunction()
?
I detected this case with help withdraw function, which sends ether from contract this.balance
to my address.
contract Some {
function () payable {
withdraw();
}
function withdraw(){}
function paybaleFunction() payable{
withdraw();
}
}