Merge pull request #2 from h-ivor/master

Add virtual keywords to lockWithApproval and lock
This commit is contained in:
Roman Semenov 2021-09-21 20:00:31 +03:00 committed by GitHub
commit 72a13ed9aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,12 +104,12 @@ contract Governance is Initializable, Configuration, Delegation, EnsResolve {
uint8 v,
bytes32 r,
bytes32 s
) external {
) external virtual {
torn.permit(owner, address(this), amount, deadline, v, r, s);
_transferTokens(owner, amount);
}
function lockWithApproval(uint256 amount) external {
function lockWithApproval(uint256 amount) external virtual {
_transferTokens(msg.sender, amount);
}