Remove operator~ from FixedHash

This commit is contained in:
Alex Beregszaszi
2020-01-16 17:18:03 +00:00
parent 3c88d295b3
commit 4d8758fcc3
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -465,7 +465,7 @@ BOOST_AUTO_TEST_CASE(creation)
deployWallet(200);
BOOST_REQUIRE(callContractFunction("isOwner(address)", h256(m_sender, h256::AlignRight)) == encodeArgs(true));
bool v2 = solidity::test::Options::get().useABIEncoderV2;
BOOST_REQUIRE(callContractFunction("isOwner(address)", ~h256(m_sender, h256::AlignRight)) == (v2 ? encodeArgs() : encodeArgs(false)));
BOOST_REQUIRE(callContractFunction("isOwner(address)", h256(~0)) == (v2 ? encodeArgs() : encodeArgs(false)));
}
BOOST_AUTO_TEST_CASE(add_owners)