Removed error code

This function is still broken for unreachable addresses.