mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #3191 from kseo/redundant-check
Remove a redundant check
This commit is contained in:
commit
060b2c2b23
@ -2574,7 +2574,7 @@ MemberList::MemberMap FunctionType::nativeMembers(ContractDefinition const*) con
|
||||
"selector",
|
||||
make_shared<FixedBytesType>(4)
|
||||
));
|
||||
if (m_kind != Kind::BareDelegateCall && m_kind != Kind::DelegateCall)
|
||||
if (m_kind != Kind::BareDelegateCall)
|
||||
{
|
||||
if (isPayable())
|
||||
members.push_back(MemberList::Member(
|
||||
|
Loading…
Reference in New Issue
Block a user