helium / blockchain-core

Apache License 2.0
214 stars 85 forks source link

Additional bugfix for adding gw to h3dex lookup #1425

Closed PaulVMo closed 2 years ago

PaulVMo commented 2 years ago

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.