Fix stamp cost extractor function

This commit is contained in:
Mark Qvist 2024-09-12 10:11:49 +02:00
parent 0fc15e6054
commit d8e2e2a45f

View File

@ -112,7 +112,7 @@ def display_name_from_app_data(app_data=None):
return app_data.decode("utf-8") return app_data.decode("utf-8")
def stamp_cost_from_app_data(app_data=None): def stamp_cost_from_app_data(app_data=None):
if app_data == None: if app_data == None or app_data == b"":
return None return None
else: else:
# Version 0.5.0+ announce format # Version 0.5.0+ announce format