From 152d67810eddf3f85b5bcd62a75b8eabdfcac7db Mon Sep 17 00:00:00 2001 From: echo Date: Tue, 12 Mar 2024 17:09:32 +0800 Subject: [PATCH] virtual (#134) --- src/user/Application.sol | 4 ++-- src/user/UpgradeableApplication.sol | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/user/Application.sol b/src/user/Application.sol index 8beef4e..1d2ec7e 100644 --- a/src/user/Application.sol +++ b/src/user/Application.sol @@ -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; } diff --git a/src/user/UpgradeableApplication.sol b/src/user/UpgradeableApplication.sol index 0c78b1c..d8f1598 100644 --- a/src/user/UpgradeableApplication.sol +++ b/src/user/UpgradeableApplication.sol @@ -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; }