forked from LBRYCommunity/lbry-sdk
fix uncaught ValueError in hashX_unsubscribe
This commit is contained in:
parent
34eae6e608
commit
4bbd850898
1 changed files with 4 additions and 1 deletions
|
@ -1220,7 +1220,10 @@ class LBRYElectrumX(SessionBase):
|
|||
return await self.address_status(hashX)
|
||||
|
||||
async def hashX_unsubscribe(self, hashX, alias):
|
||||
del self.hashX_subs[hashX]
|
||||
try:
|
||||
del self.hashX_subs[hashX]
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
def address_to_hashX(self, address):
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue