I have an error whenever I add the event line for EVM logging and to notify anyone listening that this transfer took place.
function sendCoin(address receiver, uint amount) returns (bool sufficient) { //receiver 160 bit public address of receipient
//amount # of coins to be sent
if (balances[msg.sender] < amount || balances[receiver] + amount < balances[receiver]) throw; //Check current balance of msg.sender is less than amount to send if yes, then dont execute
balances[msg.sender] -= amount;
//If msg.sender is greater than amount then subtract the # of coins from sender account
balances[receiver] += amount; // and add the # of coins to receiver account
return true;
//event sendCoin(address indexed sender, address indexed receiver, uint256 amount);
//sendCoin(msg.sender, receiver, amount)
How do I fix this?