This change extends the fix in #1403 to the add gateway case on top of the remove gateway case already covered in that PR. Because the chain var introduced in 1403 has not been activated, I also choose to rename and reuse that same var for this fix as to avoid more vars.
I believe this fix is necessarily for being able to re-introduce the h3dex hex targeting lookup optimizations first attempted in #1409.
This change extends the fix in #1403 to the add gateway case on top of the remove gateway case already covered in that PR. Because the chain var introduced in 1403 has not been activated, I also choose to rename and reuse that same var for this fix as to avoid more vars.
I believe this fix is necessarily for being able to re-introduce the h3dex hex targeting lookup optimizations first attempted in #1409.