Solidity: revert in transfer function
I’ve been learning Solidity lately, this is a note for noob. While encountering We can debug the transaction using: Then, we can follow the code and look into the stacktrace. For me this time, I’m facing this: Here msg.sender is my contract, why my contract revert when transfer ether to it. After a few digging, […]