aboutsummaryrefslogtreecommitdiff
path: root/lib/app/blockstore.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/app/blockstore.ex')
-rw-r--r--lib/app/blockstore.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app/blockstore.ex b/lib/app/blockstore.ex
index 4bef0b5..8e4fddc 100644
--- a/lib/app/blockstore.ex
+++ b/lib/app/blockstore.ex
@@ -112,7 +112,7 @@ defmodule SApp.BlockStore do
peers = :ets.lookup(:shard_peer_db, state.shard_id)
|> Enum.shuffle
|> Enum.take(3)
- for peer <- peers do
+ for {_, peer} <- peers do
Shard.Manager.send(peer, {state.shard_id, state.path, {:get, key}})
end
end