From 86de16140da9a8c4115573d1d958839c7801d98a Mon Sep 17 00:00:00 2001 From: Simone Date: Wed, 21 Feb 2024 19:25:07 +0100 Subject: [PATCH] Remove duplicated code --- slither/solc_parsing/declarations/function.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/slither/solc_parsing/declarations/function.py b/slither/solc_parsing/declarations/function.py index 323ba60d8..14b82cc22 100644 --- a/slither/solc_parsing/declarations/function.py +++ b/slither/solc_parsing/declarations/function.py @@ -207,8 +207,6 @@ def _analyze_attributes(self) -> None: else: attributes = self._functionNotParsed["attributes"] - if "payable" in attributes: - self._function.payable = attributes["payable"] if "stateMutability" in attributes: if attributes["stateMutability"] == "payable": self._function.payable = True