|
if((fMasterNode || masternodeConfig.getCount() > -1) && fTxIndex == false) { |
When I run dashd with no masternode, i got the error: "Enabling Masternode support requires turning on transaction indexing"
masternodeConfig.getCount() always returns 0 at initial time. so the if condition result is true.
I think masternodeConfig.getCount() returns vector's size() so the conditional expression must be masternodeConfig.getCount() > 0 not -1