Skip to content

Commit 2a40064

Browse files
committed
try 'server2' before 'crypto-producer' in Pond
1 parent cdbf801 commit 2a40064

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tf_encrypted/protocol/pond.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,11 @@ def __init__(
6161
tensor_factory: Optional[AbstractFactory] = None,
6262
fixedpoint_config: Optional[FixedpointConfig] = None,
6363
) -> None:
64-
6564
self.server_0 = server_0 or get_config().get_player("server0")
6665
self.server_1 = server_1 or get_config().get_player("server1")
67-
self.crypto_producer = crypto_producer or get_config().get_player(
68-
"crypto-producer"
69-
)
66+
crypto_producer = crypto_producer or get_config().get_player("server2")
67+
crypto_producer = crypto_producer or get_config().get_player("crypto-producer")
68+
self.crypto_producer = crypto_producer
7069

7170
if tensor_factory is None:
7271
if tensorflow_supports_int64():

0 commit comments

Comments
 (0)