diff options
author | Alex Auvolat <alex@adnab.me> | 2018-10-10 17:24:00 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-10-10 17:24:00 +0200 |
commit | 062faf49cbd98fc7ef68f8387a18c5a0a131025e (patch) | |
tree | 3cd55898ab518ac1f0188df2bebae477439ed47a /shard/lib/app/identity.ex | |
parent | 7bdd60c7f99df417b2589f0e99ff16abc8e925c5 (diff) | |
download | shard-062faf49cbd98fc7ef68f8387a18c5a0a131025e.tar.gz shard-062faf49cbd98fc7ef68f8387a18c5a0a131025e.zip |
Fixes, and I think it works not too bad at the moment.
Diffstat (limited to 'shard/lib/app/identity.ex')
-rw-r--r-- | shard/lib/app/identity.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shard/lib/app/identity.ex b/shard/lib/app/identity.ex index de39c6d..6909ad3 100644 --- a/shard/lib/app/identity.ex +++ b/shard/lib/app/identity.ex @@ -105,7 +105,7 @@ defmodule SApp.Identity do {true, st2} -> Shard.Manager.save_state(state.id, st2) state = put_in(state.state, st2) - bcast_state(state, [conn_pid]) + bcast_state(state, [GenServer.call(conn_pid, :get_peer_info)]) state {false, _} -> state |