Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function payOut(address _recipient, uint _amount) returns (bool) {
- if (msg.sender != owner || msg.value > 0 || (payOwnerOnly && _recipient != owner))
- throw;
- if (_recipient.call.value(_amount)()) { // XXXXX vulnerable
- PayOut(_recipient, _amount);
- return true;
- } else {
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement