cleanup get_full_history. fix #3939
This commit is contained in:
@@ -416,10 +416,7 @@ def format_satoshis(x, is_diff=False, num_zeros = 0, decimal_point = 8, whitespa
|
||||
return result
|
||||
|
||||
def timestamp_to_datetime(timestamp):
|
||||
try:
|
||||
return datetime.fromtimestamp(timestamp)
|
||||
except:
|
||||
return None
|
||||
return datetime.fromtimestamp(timestamp)
|
||||
|
||||
def format_time(timestamp):
|
||||
date = timestamp_to_datetime(timestamp)
|
||||
|
||||
Reference in New Issue
Block a user