Don't set peer_tmp until we have finished constructing it