Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
falkecarlsen committed May 29, 2018
2 parents e3cbd70 + 75b657c commit 422f68b
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 52 deletions.
6 changes: 0 additions & 6 deletions datchain/.idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions datchain/.idea/modules.xml

This file was deleted.

34 changes: 0 additions & 34 deletions datchain/datchain.iml

This file was deleted.

4 changes: 1 addition & 3 deletions datchain/src/dk/aau/cs/a311c/datchain/Block.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,4 @@ public boolean equals(Object o) {
public int hashCode() {
return Objects.hash(getIdentity(), getIdentityDOB(), getIdentityPublicKey(), getPrevHash(), getHash(), getTimestamp());
}
}


}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public static String computeHash(String hashInput) {
} catch (NoSuchAlgorithmException e) {
System.out.println("ERROR: System does not support cryptographic hash algorithm: " + e.getMessage());
}
//TODO might be redundant or not proper error-handling
assert messageDigest != null;

//get hashInput as bytes and update messageDigest
Expand Down

0 comments on commit 422f68b

Please sign in to comment.