mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Report wrong account address in case of unexpected storege key
This commit is contained in:
parent
5d22ebe447
commit
c044e1d1e9
@ -333,7 +333,7 @@ void checkStorage(map<u256, u256> _expectedStore, map<u256, u256> _resultStore,
|
|||||||
for (auto&& resultStorePair : _resultStore)
|
for (auto&& resultStorePair : _resultStore)
|
||||||
{
|
{
|
||||||
if (!_expectedStore.count(resultStorePair.first))
|
if (!_expectedStore.count(resultStorePair.first))
|
||||||
BOOST_ERROR("unexpected result store key " << resultStorePair.first);
|
BOOST_ERROR(_expectedAddr << ": unexpected store key " << resultStorePair.first);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user