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

[WIP][INDY-2010] add command GET_AUTH_RULE #1121

Merged

Conversation

Toktar
Copy link
Contributor

@Toktar Toktar commented Mar 12, 2019

No description provided.

Signed-off-by: toktar <renata.toktar@dsr-corporation.com>
Signed-off-by: toktar <renata.toktar@dsr-corporation.com>
Signed-off-by: toktar <renata.toktar@dsr-corporation.com>
plenum/server/domain_req_handler.py Outdated Show resolved Hide resolved

# Do not inline please, it makes debugging easier
return result
multi_sig = self.bls_store.get(encoded_root_hash)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why can't we move this calculation to base method? The only source of multi-sig is bls_store , so it looks like quite generic logic.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

PoolReqHandler doesn't work with a bls_store, therefore, the bls_store and work with it were not moved to the LedgerRequestHandler. But I think this is not so important, we can move it.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would be great to move it there, but this is fine to do it latter.

Signed-off-by: toktar <renata.toktar@dsr-corporation.com>
Signed-off-by: toktar <renata.toktar@dsr-corporation.com>
@ashcherbakov ashcherbakov merged commit 47d354a into hyperledger:master Mar 13, 2019
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.

None yet

2 participants