Merge pull request #3191 from kseo/redundant-check

Remove a redundant check
This commit is contained in:
chriseth 2017-11-13 05:54:41 -05:00 committed by GitHub
commit 060b2c2b23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2574,7 +2574,7 @@ MemberList::MemberMap FunctionType::nativeMembers(ContractDefinition const*) con
"selector", "selector",
make_shared<FixedBytesType>(4) make_shared<FixedBytesType>(4)
)); ));
if (m_kind != Kind::BareDelegateCall && m_kind != Kind::DelegateCall) if (m_kind != Kind::BareDelegateCall)
{ {
if (isPayable()) if (isPayable())
members.push_back(MemberList::Member( members.push_back(MemberList::Member(