|
|
|
@ -73,10 +73,9 @@ defmodule Explorer.Counters.AddressTransactionsCounter do |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
defp update_cache(address) do |
|
|
|
|
put_into_cache(@last_update_key, current_time()) |
|
|
|
|
|
|
|
|
|
new_data = Chain.address_to_transaction_count(address) |
|
|
|
|
address_hash_string = get_address_hash_string(address) |
|
|
|
|
put_into_cache(@last_update_key, current_time()) |
|
|
|
|
put_into_cache("hash_#{address_hash_string}", new_data) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|