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 'UTXO' and 'UTXO' #23

Closed
SomberNight opened this issue Jun 19, 2020 · 2 comments
Closed
Labels

Comments

@SomberNight
Copy link
Member

On master:

2020-06-19T17:35:01.902288380Z ERROR:ElectrumX:[110] exception handling Request('blockchain.scripthash.listunspent', ['bf5cba1ab27952ef2c119cab412adf0aafaa74ba395e6d974fab21b7a2961593'])
2020-06-19T17:35:01.902308915Z Traceback (most recent call last):
2020-06-19T17:35:01.902312317Z   File "/usr/local/lib/python3.8/site-packages/aiorpcx/session.py", line 467, in _throttled_request
2020-06-19T17:35:01.902315232Z     result = await self.handle_request(request)
2020-06-19T17:35:01.902318482Z   File "/usr/local/lib/python3.8/site-packages/electrumx/server/session.py", line 889, in handle_request
2020-06-19T17:35:01.902321465Z     return await coro
2020-06-19T17:35:01.902323689Z   File "/usr/local/lib/python3.8/site-packages/electrumx/server/session.py", line 1119, in scripthash_listunspent
2020-06-19T17:35:01.902326238Z     return await self.hashX_listunspent(hashX)
2020-06-19T17:35:01.902328657Z   File "/usr/local/lib/python3.8/site-packages/electrumx/server/session.py", line 1059, in hashX_listunspent
2020-06-19T17:35:01.902330992Z     utxos = sorted(utxos)
2020-06-19T17:35:01.902333032Z TypeError: '<' not supported between instances of 'UTXO' and 'UTXO'
@SomberNight
Copy link
Member Author

Regression from 31ef887

@JustinTArthur
Copy link
Collaborator

Thanks for the fix. Sorry for not catching this!

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

No branches or pull requests

2 participants