Skip to content

Commit

Permalink
Merge pull request #3127 from devinbileck/activate-dao-preferences
Browse files Browse the repository at this point in the history
Fix incorrect DAO full node check when loading PreferencesView
  • Loading branch information
ripcurlx authored Aug 22, 2019
2 parents f40728b + 1780090 commit b43a006
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -834,8 +834,8 @@ private void activateDaoPreferences() {
String rpcPw = preferences.getRpcPw();
int blockNotifyPort = preferences.getBlockNotifyPort();
if (daoFullNode && (rpcUser == null || rpcUser.isEmpty() ||
rpcPw == null || rpcPw.isEmpty()) ||
blockNotifyPort <= 0) {
rpcPw == null || rpcPw.isEmpty() ||
blockNotifyPort <= 0)) {
log.warn("You have full DAO node selected but have not provided the rpc username, password and " +
"block notify port. We reset daoFullNode to false");
isDaoFullNodeToggleButton.setSelected(false);
Expand Down

0 comments on commit b43a006

Please sign in to comment.