From 8d56f4dd68001d5c3e6007124e6dfd3f71982068 Mon Sep 17 00:00:00 2001 From: elenadimitrova Date: Fri, 12 Jun 2020 12:51:38 +0300 Subject: [PATCH] Remove event from BaseWallet receive function This helps solve https://github.com/sc-forks/solidity-coverage/issues/516 --- contracts/wallet/BaseWallet.sol | 3 --- 1 file changed, 3 deletions(-) diff --git a/contracts/wallet/BaseWallet.sol b/contracts/wallet/BaseWallet.sol index 4d14befb0..c7499874d 100644 --- a/contracts/wallet/BaseWallet.sol +++ b/contracts/wallet/BaseWallet.sol @@ -157,8 +157,5 @@ contract BaseWallet is IWallet { } receive() external payable { - if (msg.value > 0) { - emit Received(msg.value, msg.sender, msg.data); - } } } \ No newline at end of file