Reentrancy Prevention
is it good to update the state variable before hitting the external transaction to another contract and event emission also in solidity to protect from reentrancy
is it good to update the state variable before hitting the external transaction to another contract and event emission also in solidity to protect from reentrancy