Skip to content

Commit

Permalink
virtual (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 authored Mar 12, 2024
1 parent 6add0a7 commit 152d678
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/user/Application.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ abstract contract Application is AppBase {
ORMP = ormp;
}

function ormpSender() public view override returns (address) {
function ormpSender() public view virtual override returns (address) {
return ORMP;
}

function ormpRecver() public view override returns (address) {
function ormpRecver() public view virtual override returns (address) {
return ORMP;
}

Expand Down
4 changes: 2 additions & 2 deletions src/user/UpgradeableApplication.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ abstract contract UpgradeableApplication is AppBase {
recver = ormp;
}

function ormpSender() public view override returns (address) {
function ormpSender() public view virtual override returns (address) {
return sender;
}

function ormpRecver() public view override returns (address) {
function ormpRecver() public view virtual override returns (address) {
return recver;
}

Expand Down

0 comments on commit 152d678

Please sign in to comment.