fix pylint W0612 (unused-variable)
This commit is contained in:
@@ -3,6 +3,7 @@ from bech32 import bech32_decode, bech32_encode, convertbits
|
||||
|
||||
def decode(lnurl: str) -> str:
|
||||
hrp, data = bech32_decode(lnurl)
|
||||
assert hrp
|
||||
assert data
|
||||
bech32_data = convertbits(data, 5, 8, False)
|
||||
assert bech32_data
|
||||
|
||||
Reference in New Issue
Block a user