Anyone know how I can send ether to a function from my contract
Aug 26, 2022, 2:15 PM
Function home (address _to) public {balances[_to] += msg.value;}
Let's assume it has payable, how do I still send ether to it
Whenever I try the ethet gets sent to my own contract instead
Not working
Still getting stuck in the contract
Let me explain well Ithere are two contracts(A and B) A is deployed on the Blockchain and has a function that takes a single parameter of type address(it's a payable function, so it can accept ether)
Contract b is my own contract,I'm trying to send ether to that function in contract A triggering the function
But when I send it , it goes to my own contact instead
Aug 26, 2022, 2:36 PM
Send via call
Aug 26, 2022, 2:36 PM