Make non-view functions virtual (#2468)
This commit is contained in:
@ -36,7 +36,7 @@ contract Escrow is Ownable {
|
||||
* @dev Stores the sent amount as credit to be withdrawn.
|
||||
* @param payee The destination address of the funds.
|
||||
*/
|
||||
function deposit(address payee) public virtual payable onlyOwner {
|
||||
function deposit(address payee) public payable virtual onlyOwner {
|
||||
uint256 amount = msg.value;
|
||||
_deposits[payee] = _deposits[payee].add(amount);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user