File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1267,7 +1267,7 @@ async def preprocess(self, request: "Request") -> "Synapse":
1267
1267
# Fills the local axon information into the synapse.
1268
1268
synapse .axon .__dict__ .update (
1269
1269
{
1270
- "version" : str (version_as_int ),
1270
+ "version" : int (version_as_int ),
1271
1271
"uuid" : str (self .axon .uuid ),
1272
1272
"nonce" : time .time_ns (),
1273
1273
"status_code" : 100 ,
@@ -1276,7 +1276,7 @@ async def preprocess(self, request: "Request") -> "Synapse":
1276
1276
1277
1277
# Fills the dendrite information into the synapse.
1278
1278
synapse .dendrite .__dict__ .update (
1279
- {"port" : str (request .client .port ), "ip" : str (request .client .host )} # type: ignore
1279
+ {"port" : int (request .client .port ), "ip" : str (request .client .host )} # type: ignore
1280
1280
)
1281
1281
1282
1282
# Signs the synapse from the axon side using the wallet hotkey.
You can’t perform that action at this time.
0 commit comments