Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pragma solidity ^0.4.19;
- contract Test1 {
- bytes32 originalHash;
- constructor(bytes32 _originalHash) public {
- originalHash = _originalHash;
- }
- function hash(uint originalValue) public view returns (bool) {
- if (originalValue == uint(originalHash)) return true;
- return false;
- }
- }
Add Comment
Please, Sign In to add comment