Skip to content

Commit

Permalink
populate spent_output_number
Browse files Browse the repository at this point in the history
  • Loading branch information
zolting committed Nov 22, 2024
1 parent 5a5fa0f commit 341159f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/bitcoin/src/inputs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn collect_transaction_inputs(transaction: &Transaction, timestamp: &BlockTi
index: index as u32,
spent_block_height: 0, // TODO: Need to look up from previous tx
spent_tx_id: input.txid.clone(),
spent_output_number: 0,
spent_output_number: input.vout as u64,
value: 0.0, // TODO: Need to look up from previous tx
address: String::new(), // TODO: Need to look up from previous tx
r#type: String::new(), // TODO: Need to look up from previous tx
Expand Down

0 comments on commit 341159f

Please sign in to comment.