From 6968062ba1129b0e88ddb60408d235329a913fc9 Mon Sep 17 00:00:00 2001 From: miguelmtzinf Date: Thu, 3 Nov 2022 13:41:27 +0100 Subject: [PATCH] fix: Make transferOnLiq() virtual --- contracts/protocol/tokenization/AToken.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/protocol/tokenization/AToken.sol b/contracts/protocol/tokenization/AToken.sol index fd9d74b20..1ee28e8d5 100644 --- a/contracts/protocol/tokenization/AToken.sol +++ b/contracts/protocol/tokenization/AToken.sol @@ -119,7 +119,7 @@ contract AToken is VersionedInitializable, ScaledBalanceTokenBase, EIP712Base, I address from, address to, uint256 value - ) external override onlyPool { + ) external virtual override onlyPool { // Being a normal transfer, the Transfer() and BalanceTransfer() are emitted // so no need to emit a specific event here _transfer(from, to, value, false);