fixed crash and blockchian sync issues following a wallet wipe and restore