Skip to content

Commit

Permalink
Fix exit code when confirmation is rejected for validator register co…
Browse files Browse the repository at this point in the history
…mmand (#2658)
  • Loading branch information
cemozerr authored Aug 26, 2020
1 parent 8267cd0 commit 052a217
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void displayConfirmation(final int totalNumberOfDeposits) {
return;
}
System.out.println("Transaction cancelled.");
shutdownFunction.accept(0);
shutdownFunction.accept(1);
}

public SafeFuture<TransactionReceipt> sendDeposit(
Expand Down

0 comments on commit 052a217

Please sign in to comment.