* Clean some unused variables * Add basic infrastructure * Add real eth regression tests * Use check_call * Suppress stdout * Make 705 work * Less error prone way of testing
11 lines
170 B
Solidity
11 lines
170 B
Solidity
contract C {
|
|
|
|
function reveal(uint x, bytes32 hash) returns (bool) {
|
|
if (sha3(x) == hash) {
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
}
|