Skip to content

Commit

Permalink
fix copypasted comments
Browse files Browse the repository at this point in the history
  • Loading branch information
chris124567 committed Nov 12, 2024
1 parent a3599a3 commit cdd81a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions persist/sqlite/v2transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@ ORDER BY ts.transaction_order ASC`)
return nil
}

// fillV2TransactionFileContractRevisions fills in the file contracts for each
// transaction.
// fillV2TransactionFileContractRevisions fills in the file contract revisions
// for each transaction.
func fillV2TransactionFileContractRevisions(tx *txn, dbIDs []int64, txns []explorer.V2Transaction) error {
parentStmt, err := tx.Prepare(`SELECT fc.transaction_id, rev.confirmation_index, rev.confirmation_transaction_id, rev.resolution_index, rev.resolution_transaction_id, fc.contract_id, fc.leaf_index, fc.capacity, fc.filesize, fc.file_merkle_root, fc.proof_height, fc.expiration_height, fc.renter_output_address, fc.renter_output_value, fc.host_output_address, fc.host_output_value, fc.missed_host_value, fc.total_collateral, fc.renter_public_key, fc.host_public_key, fc.revision_number, fc.renter_signature, fc.host_signature
FROM v2_file_contract_elements fc
Expand Down Expand Up @@ -427,6 +427,8 @@ ORDER BY ts.transaction_order ASC`)
return nil
}

// fillV2TransactionFileContractResolutions fills in the file contract
// resolutions for each transaction.
func fillV2TransactionFileContractResolutions(tx *txn, dbIDs []int64, txns []explorer.V2Transaction) error {
consolidatedStmt, err := tx.Prepare(`
SELECT
Expand Down

0 comments on commit cdd81a8

Please sign in to comment.