bitcoin/bitcoin — pull request #4803 by jtimon (2014-08-31 22:07:15+00:00)
Title: Reserve only one network specific cached path per session

One cannot change the network without restarting, so the only positions in the array that are used are the network you selected and CBaseChainParams::MAX_NETWORK_TYPES. Let's simplify and just have positions 0 and 1.