Skip to content

Commit

Permalink
First release
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Jun 8, 2021
1 parent de2ff46 commit 847eba0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,10 @@ def endpoints_for_schain(schains_internal_contract, nodes_contract, schain_id):
compose_endpoints(node_dict, endpoint_type='domain')

nodes.append(node_dict)
schain = schains_internal_contract.functions.schains(schain_id).call()
return {
'schain': schains_internal_contract.functions.schains(schain_id).call(),
'schain_id': schain_id.hex(),
'schain': schain,
'schain_id': schain_name_to_id(schain[0])[:15],
'nodes': nodes
}

Expand Down

0 comments on commit 847eba0

Please sign in to comment.