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

TypeError: '<' not supported between instances of 'google.protobuf.pyext._message.RepeatedCompositeContainer' and 'google.protobuf.pyext._message.RepeatedCompositeContainer' #7

Open
arshbot opened this issue Jan 14, 2020 · 0 comments

Comments

@arshbot
Copy link
Owner

arshbot commented Jan 14, 2020

lnt --config ~/.lnt/stgconf view channel --max pending_htlcs throws an error when attempting to sort by pending_htlcs.

It appears to be related to the following line

sorted_channels = sorted(channels.items(), key=lambda kv: kv[1][sort_key])

Interestingly enough, when checking the value associated with the key pending_htlcs, every value returned was an empty array, so this may be a little bit more difficult to isolate.

For now I'm going to disable sorting by pending_htlcs. however if this is a commonly requested feature I'll revisit this.

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

No branches or pull requests

1 participant