Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. function payOut(address _recipient, uint _amount) returns (bool) {
  2. if (msg.sender != owner || msg.value > 0 || (payOwnerOnly && _recipient != owner))
  3. throw;
  4. if (_recipient.call.value(_amount)()) { // XXXXX vulnerable
  5. PayOut(_recipient, _amount);
  6. return true;
  7. } else {
  8. return false;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement