Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug of block notify #129

Merged
merged 1 commit into from
Dec 17, 2020
Merged

fix bug of block notify #129

merged 1 commit into from
Dec 17, 2020

Conversation

cyjseagull
Copy link
Contributor

No description provided.

@ghost
Copy link

ghost commented Dec 17, 2020

Sider detected 1 warning on analyzing the commit c61edbf.

We recommend fixing them as possible by updating the dependencies, configuring the analysis tool, configuring sider.yml, turning off unused tools, and so on.

If you have problems or questions still, feel free to ask us via chat. 💬


You can turn off this notification if you don't want to receive it from now on.

@@ -230,7 +229,7 @@ def resolve_promise(resolve, reject):
def make_channel_rpc_request(self, method, params, packet_type=ChannelPack.TYPE_RPC,
response_type=ChannelPack.TYPE_RPC):
rpc_data = self.encode_rpc_request(method, params)
self.logger.debug("request rpc_data : {}".format(rpc_data))
#self.logger.debug("request rpc_data : {}".format(rpc_data))
Copy link

Choose a reason for hiding this comment

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

[Flake8] block comment should start with '# ' (view)

Rule
E265

You can close this issue if no need to fix it. Learn more.

@@ -270,7 +269,7 @@ def onResponse(self, responsepack):
# get onResponse emitter
onresponse_emitter = ChannelHandler.getEmitterStr(self.onResponsePrefix,
responsepack.seq, responsepack.type)
if onresponse_emitter in self.requests:
if onresponse_emitter in self.requests and responsepack.type != ChannelPack.TYPE_TX_BLOCKNUM:
Copy link

Choose a reason for hiding this comment

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

[Flake8] line too long (101 > 100 characters) (view)

Rule
E501

You can close this issue if no need to fix it. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant