Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
imalygin committed May 25, 2023
1 parent 1d7353b commit 2e16e68
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -167,6 +167,7 @@ public void failedRehash() {
DummyMerkleNode root = spy(generateRandomTree(0, 2, 1, 1, 0, 3, 1, 0.25));
when(root.getHash()).then(new Answer<Hash>() {
private int count = 0;

@Override
public Hash answer(final InvocationOnMock invocation) throws Throwable {
if (count++ < 2) {
Expand Down

0 comments on commit 2e16e68

Please sign in to comment.