Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Mra/h3dex #681

Merged
merged 9 commits into from
Nov 23, 2020
Merged

Mra/h3dex #681

merged 9 commits into from
Nov 23, 2020

Conversation

jadeallenx
Copy link
Contributor

Implement H3dex

@jadeallenx jadeallenx changed the base branch from master to rg/hip0017 November 20, 2020 17:34
@jadeallenx jadeallenx marked this pull request as draft November 20, 2020 17:34
src/blockchain.erl Outdated Show resolved Hide resolved
src/blockchain.erl Outdated Show resolved Hide resolved
case cache_get(Ledger, H3CF, BinHex, []) of
not_found -> ok;
{ok, BinGws} ->
NewGWs = lists:delete(GWAddr, binary_to_term(BinGws)),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the list is now empty you can delete the key instead of writing back the empty list

@evanmcc evanmcc marked this pull request as ready for review November 23, 2020 23:43
@evanmcc evanmcc merged commit f8848f0 into rg/hip0017 Nov 23, 2020
@evanmcc evanmcc deleted the mra/h3dex branch November 23, 2020 23:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants