fix bug that caused workerThread to crash when sending out an old v2 pubkey