diff options
Diffstat (limited to 'shard/lib/keys.ex')
-rw-r--r-- | shard/lib/keys.ex | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shard/lib/keys.ex b/shard/lib/keys.ex index b810078..f98deba 100644 --- a/shard/lib/keys.ex +++ b/shard/lib/keys.ex @@ -15,6 +15,9 @@ defmodule Shard.Keys do def init() do :dets.start {:ok, @key_db} = :dets.open_file(@key_db, [type: :set]) + for [pk, _] <- :dets.match(@key_db, {:'$1', :'$2'}) do + Shard.Manifest.start %SApp.Identity.Manifest{pk: pk} + end nil end |