hyperledger-archives / avalon

Hyperledger Avalon enables privacy in blockchain transactions, moving intensive processing from a main blockchain to improve scalability and latency, and to support attested Oracles
https://wiki.hyperledger.org/display/avalon/Hyperledger+Avalon
Apache License 2.0
136 stars 93 forks source link

Redundant code assigning WorkerId #706

Closed MarkYQJ closed 3 years ago

MarkYQJ commented 4 years ago
worker_id = input_value_json["params"]["workerId"]

are redundant at

https://github.com/hyperledger/avalon/blob/b0ef7271c48282518470607269a0e5b277f015cf/listener/avalon_listener/tcs_work_order_handler_sync.py#L93 and https://github.com/hyperledger/avalon/blob/b0ef7271c48282518470607269a0e5b277f015cf/listener/avalon_listener/tcs_work_order_handler_sync.py#L95

manju956 commented 3 years ago

raised https://github.com/hyperledger/avalon/pull/734 to fix the issue, closing this issue.