Commit d0535543 by lyh3024

add properties

Change-Id: I54fc36b5c860cb08b60005a3822288076f6bb912
parent 378f51c1
...@@ -72,7 +72,7 @@ def get_block_list(request): ...@@ -72,7 +72,7 @@ def get_block_list(request):
# 账户 # 账户
transactions = [] transactions = []
for a in accounts: for a in accounts:
resp_nodes.append(gen_node_with_properties_json(a, {"dealNum": deal_amount_dict.get(a.address)})) resp_nodes.append(gen_node_with_properties_json(a, {"dealAmount": deal_amount_dict.get(a.address)}))
node_ids.append(a.id) node_ids.append(a.id)
next_nodes = a.transfer_out.all() next_nodes = a.transfer_out.all()
for next_node in next_nodes: for next_node in next_nodes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment