It looks like you're new here. If you want to get involved, click one of these buttons!
send
to send money from a contract to a user, it works fine.if (!msg.sender.send(this.balance)) error = 1;
send
to send to another contract, if fails. Always.if (!secondContract.send(this.balance)) error = 1;
Comments
Are you sure that secondContract is an address?