Explicit public visibility on methods
This commit is contained in:
committed by
Francisco Giordano
parent
bd84db735d
commit
b395b06b65
@ -28,7 +28,7 @@ contract PullPayment {
|
||||
/**
|
||||
* @dev withdraw accumulated balance, called by payee.
|
||||
*/
|
||||
function withdrawPayments() {
|
||||
function withdrawPayments() public {
|
||||
address payee = msg.sender;
|
||||
uint256 payment = payments[payee];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user