Skip to content

Commit da7c00e

Browse files
committed
fix test error
1 parent 353dbdd commit da7c00e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsolidity/formal/CHC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ void CHC::externalFunctionCallToTrustedCode(FunctionCall const& _funCall)
11021102
std::vector<Expression const*> arguments;
11031103
for (auto& arg: _funCall.sortedArguments())
11041104
arguments.push_back(&(*arg));
1105-
smtutil::Expression pred = predicate(function, callExpr, &funType, arguments, calledAddress);
1105+
smtutil::Expression pred = predicate(function, std::nullopt, &funType, arguments, calledAddress);
11061106

11071107
auto txConstraints = state().txTypeConstraints() && state().txFunctionConstraints(*function);
11081108
m_context.addAssertion(pred && txConstraints);

0 commit comments

Comments
 (0)