Move assert(pindexNew); to above where we dereference pindexNew.
Move assert(pindexNew); to above where we dereference pindexNew.

wastholm/bitcoin,wastholm/bitcoin,wastholm/bitcoin,wastholm/bitcoin,wastholm/bitcoin,wastholm/bitcoin