Skip to content

Commit b82a9bf

Browse files
committed
fix: set _deposit visability private.
1 parent 3ab954a commit b82a9bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/horizon/contracts/payments/PaymentsEscrow.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ contract PaymentsEscrow is Initializable, MulticallUpgradeable, GraphDirectory,
232232
* @param _receiver The address of the receiver
233233
* @param _tokens The amount of tokens to deposit
234234
*/
235-
function _deposit(address _payer, address _receiver, uint256 _tokens) internal {
235+
function _deposit(address _payer, address _receiver, uint256 _tokens) private {
236236
escrowAccounts[_payer][_receiver].balance += _tokens;
237237
_graphToken().pullTokens(msg.sender, _tokens);
238238
emit Deposit(_payer, _receiver, _tokens);

0 commit comments

Comments
 (0)