In this court case, the court found that school counselors h…
In this court case, the court found that school counselors have a duty to use reasonable means to attempt to prevent a suicide when they know about a student’s suicidal intentions. The reasoning of the court was that an adolescent is more likely to share thoughts of suicide with friends than with a school counselor, teacher, or parent. The court found that reasonable care would have included notifying the student’s parents that their daughter was at risk for suicide.
Read DetailsThe following implements a simple “bank” that allows you to…
The following implements a simple “bank” that allows you to store and withdraw ETH. What is wrong with this contract? contract Bank { mapping(address => uint256) public balances; function deposit(address _for) public payable { balances[_for] += msg.value; } function withdraw(address from, uint256 amount) public { require(balances[from] >= amount, “insufficient balance”); balances[from] -= amount; msg.sender.call{value: amount}(“”); }}
Read Details