Skip to content

Commit

Permalink
Fix persistence of validity intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbertra committed Nov 30, 2022
1 parent ebdbd38 commit 46b32ba
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1121,7 +1121,7 @@ commitBlocks = CommitBlocks \blocks ->
)
, newTxs AS
( INSERT INTO chain.tx (id, blockId, slotNo, validityLowerBound, validityUpperBound, metadataKey1564, isValid)
SELECT tx.id, tx.blockId, tx.slotNo, tx.validityUpperBound, tx.validityUpperBound, tx.metadataKey1564, tx.isValid
SELECT tx.id, tx.blockId, tx.slotNo, tx.validityLowerBound, tx.validityUpperBound, tx.metadataKey1564, tx.isValid
FROM txInputs AS tx
)
, txOutInputs (txId, txIx, slotNo, address, lovelace, datumHash, datumBytes, isCollateral) AS
Expand Down

0 comments on commit 46b32ba

Please sign in to comment.