fix claim expiration calculation
This commit is contained in:
parent
16b774a69e
commit
6dbb6b9079
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ class SQLDB:
|
|||
:claim_type, :media_type, :stream_type, :timestamp, :timestamp, :height, :height,
|
||||
CASE WHEN :release_time IS NOT NULL THEN :release_time ELSE :timestamp END,
|
||||
CASE WHEN :normalized NOT IN (SELECT normalized FROM claimtrie) THEN :height END,
|
||||
CASE WHEN :height >= 262974 THEN :height+2102400 ELSE :height+262974 END,
|
||||
CASE WHEN :height >= 137181 THEN :height+2102400 ELSE :height+262974 END,
|
||||
:claim_name||COALESCE(
|
||||
(SELECT shortest_id(claim_id, :claim_id) FROM claim WHERE normalized = :normalized),
|
||||
'#'||substr(:claim_id, 1, 1)
|
||||
|
|
Loading…
Reference in a new issue