Skip to content

Commit

Permalink
fixed virtuality
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvolear committed Jul 19, 2024
1 parent 1b2ef4a commit 499092e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions contracts/state/TSSUpgradeable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ abstract contract TSSUpgradeable is UUPSSignableUpgradeable, TSSSigner {
return _getImplementation();
}

function _authorizeUpgrade(address) internal pure virtual override {
function _authorizeUpgrade(address) internal virtual override {
revert("Upgradeable: This upgrade method is off");
}

function _authorizeUpgrade(
address newImplementation_,
bytes calldata proof_
) internal override {
) internal virtual override {
require(newImplementation_ != address(0), "Upgradeable: Zero address");

uint256 nonce_ = _getAndIncrementNonce(MAGIC_ID);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/passport-contracts",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"author": "Zero Block Global Foundation",
"readme": "README.md",
Expand Down

0 comments on commit 499092e

Please sign in to comment.