diff options
Diffstat (limited to 'shard/lib/app/identity.ex')
-rw-r--r-- | shard/lib/app/identity.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shard/lib/app/identity.ex b/shard/lib/app/identity.ex index 65e7031..468906f 100644 --- a/shard/lib/app/identity.ex +++ b/shard/lib/app/identity.ex @@ -31,7 +31,7 @@ defmodule SApp.Identity do end defmodule State do - defstruct [:info, :rev, :signed] + defstruct [:pk, :id, :state, :netgroup] end def start_link(manifest) do @@ -55,7 +55,7 @@ defmodule SApp.Identity do if Shard.Keys.have_sk? pk do GenServer.cast(self(), :update_peer_info) end - {:ok, %{pk: pk, id: id, state: state, netgroup: netgroup}} + {:ok, %State{pk: pk, id: id, state: state, netgroup: netgroup}} end def handle_call(:manifest, _from, state) do |