fix pylint W0612 (unused-variable)

This commit is contained in:
Pavol Rusnak
2023-01-30 11:46:43 +00:00
parent 32f4c8aa17
commit d29fcca6aa
5 changed files with 5 additions and 4 deletions
+1
View File
@@ -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