From 062faf49cbd98fc7ef68f8387a18c5a0a131025e Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 10 Oct 2018 17:24:00 +0200 Subject: Fixes, and I think it works not too bad at the moment. --- shard/lib/app/identity.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shard/lib/app') 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 -- cgit v1.2.3