Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Conversation

@taimanhui
Copy link

What does this implement/fix? Explain your changes.

清理掉callback

Does this close any currently open issues?

If it fixes a bug or resolves a feature request, be sure to link to that issue.
N/A

Pull request type

Put an x in the boxes that apply

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe): cleanup

Where has this been tested?

No

Any other comments?

No

@taimanhui taimanhui requested review from dydysy, huazhouwang, shuaiLiWang and somebodyLi and removed request for huazhouwang and shuaiLiWang August 27, 2021 04:28
@taimanhui taimanhui marked this pull request as draft August 27, 2021 04:28
huazhouwang
huazhouwang previously approved these changes Aug 27, 2021
util.register_callback(self._on_fee, ["fee"])
# self.network.register_callback(self.on_fee_histogram, ['fee_histogram'])
util.register_callback(self._on_quotes, ["on_quotes"])
util.register_callback(self._on_history, ["on_history"])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on_fee 和 on_history 还用到吗?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on_fee应该是实际上没作用的,但是也不和回调相关,不过我可以一起去掉
on_history看起来在wallet.py里面还有逻辑,虽然具体那个get_detailed_history我们没用到。

shuaiLiWang
shuaiLiWang previously approved these changes Aug 27, 2021
@taimanhui taimanhui dismissed stale reviews from shuaiLiWang and huazhouwang via d7a82de August 27, 2021 07:42
@taimanhui taimanhui force-pushed the remove-callback branch 2 times, most recently from 34c73a2 to a4504b3 Compare September 17, 2021 04:19
huazhouwang
huazhouwang previously approved these changes Sep 17, 2021
shuaiLiWang
shuaiLiWang previously approved these changes Sep 17, 2021
@taimanhui taimanhui dismissed stale reviews from shuaiLiWang and huazhouwang via 677fae6 September 22, 2021 11:10
@taimanhui taimanhui force-pushed the remove-callback branch 2 times, most recently from 677fae6 to 189ee57 Compare September 23, 2021 03:47
huazhouwang
huazhouwang previously approved these changes Sep 23, 2021
Signed-off-by: taimanhui <taimanhui@protonmail.com>
Signed-off-by: taimanhui <taimanhui@protonmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants