Skip to content

Commit

Permalink
Typo in return statement
Browse files Browse the repository at this point in the history
Just looking at this quickly, it looks like you mean to return success and not just TRUE each time
  • Loading branch information
slavik0329 committed Mar 10, 2016
1 parent 57708f4 commit 231ff5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contract.sol
Expand Up @@ -20,7 +20,7 @@ contract Etherdoc {
usedHashes[hash] = true;
success = true;
}
return true;
return success;
}
function createHistory (bytes32 hash, address from, address to) internal{
++latestDocument;
Expand Down

0 comments on commit 231ff5e

Please sign in to comment.