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

usbwallet: expose internal trezor proto package #17980

Merged
merged 1 commit into from
Jan 26, 2019

Conversation

benma
Copy link
Contributor

@benma benma commented Oct 25, 2018

When some of the same messages are redefined anywhere in a Go project,
the protobuf package panics (see
golang/protobuf#178).

Since this package is internal, there is no way to work around it, as
one cannot use it directly, but also cannot define the same messages.

There is no downside in making the package accessible.

@benma benma requested a review from karalabe as a code owner October 25, 2018 22:29
@benma
Copy link
Contributor Author

benma commented Oct 26, 2018

(CI error is unrelated to this PR and affects other PRs as well)

@karalabe
Copy link
Member

karalabe commented Nov 7, 2018

This is one weird limitation of protobuf. Please move the package one nesting higher (i.e. no need for an extra proto folder).

@benma
Copy link
Contributor Author

benma commented Nov 18, 2018

@karalabe done!

When some of the same messages are redefined anywhere in a Go project,
the protobuf package panics (see
golang/protobuf#178).

Since this package is internal, there is no way to work around it, as
one cannot use it directly, but also cannot define the same messages.

There is no downside in making the package accessible.
@fjl fjl merged commit dddd6ef into ethereum:master Jan 26, 2019
This pull request was closed.
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.

3 participants