fix "if" conditions for !Params().NetworkID() == CChainParams::TESTNET comparison / trailing spaces cleanup

- add parentheses -> !(Params().NetworkID() == CChainParams::TESTNET)
- trailing spaces cleanup