Merged PIVX PR #817 to address crash when using -disablewallet on masternodes (or elsewhere) that you don't want to bother with wallet.dat being loaded, managed or processed. Also helpful to prevent accidental overwriting of your actual wallet.dat if you take a bootstrap from your masternode VPS to repair chain issues in your wallet.
Merged PIVX PR #817 to address crash when using -disablewallet on masternodes (or elsewhere) that you don't want to bother with wallet.dat being loaded, managed or processed. Also helpful to prevent accidental overwriting of your actual wallet.dat if you take a bootstrap from your masternode VPS to repair chain issues in your wallet.