Skip to content

Commit

Permalink
test: fixed deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoCentonze committed Apr 27, 2024
1 parent c7c1035 commit 849f387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/mocks/ERC20Mock.vy
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ def approve(_spender: address, _value: uint256) -> bool:
def _mint_for_testing(_target: address, _value: uint256) -> bool:
self.totalSupply += _value
self.balanceOf[_target] += _value
log Transfer(ZERO_ADDRESS, _target, _value)
log Transfer(empty(address), _target, _value)

return True

0 comments on commit 849f387

Please sign in to comment.