mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Erase balances when delegatecall is seen
This commit is contained in:
@@ -2281,6 +2281,13 @@ void SMTEncoder::resetStorageVariables()
|
||||
});
|
||||
}
|
||||
|
||||
void SMTEncoder::resetBalances()
|
||||
{
|
||||
// TODO this should be changed to `balances` only
|
||||
// when `state` gets more members.
|
||||
state().newState();
|
||||
}
|
||||
|
||||
void SMTEncoder::resetReferences(VariableDeclaration const& _varDecl)
|
||||
{
|
||||
m_context.resetVariables([&](VariableDeclaration const& _var) {
|
||||
|
||||
Reference in New Issue
Block a user