mirror of
https://github.com/Labelbase/Labelbase.git
synced 2026-08-13 12:33:23 +02:00
.
This commit is contained in:
parent
9ead6bc75e
commit
e4b9497eb5
1 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ def is_valid_output_ref(ref):
|
|||
return False
|
||||
|
||||
|
||||
def checkup_label(label_id, loop):
|
||||
def checkup_label(label_id, loop):
|
||||
if label_id and loop:
|
||||
try:
|
||||
elem = Label.objects.get(id=label_id)
|
||||
|
|
@ -102,7 +102,7 @@ def checkup_label(label_id, loop):
|
|||
logger.debug(f"Transaction {txid} fetched with blocktime {blocktime}")
|
||||
if blocktime:
|
||||
output.confirmed_at_block_time = blocktime
|
||||
output.confirmed_at_block_height = txn.get('height', 0)
|
||||
HistoricalPrice.get_or_create_from_api(None, timestamp=blocktime)
|
||||
|
||||
# Fetch all unspents for the address
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue