This changes the hex density scaler to use the last_beacon_recip table as its source data rather than the last_beacon table. As per #784 the last_beacon_recip table is updated only when a beacon is valid whereas the last_beacon table is updated upon receipt of the last beacon whether than beacon is valid or invalid.
As such since #784 the hex density scaler has been using incorrect data
Fix for issue https://github.com/helium/oracles/issues/793
This changes the hex density scaler to use the last_beacon_recip table as its source data rather than the
last_beacon
table. As per #784 the last_beacon_recip table is updated only when a beacon is valid whereas the last_beacon table is updated upon receipt of the last beacon whether than beacon is valid or invalid.As such since #784 the hex density scaler has been using incorrect data