Adjust Bitcoin processor layout

This commit is contained in:
Luke Parker
2024-09-11 03:09:44 -04:00
parent 776cbbb9a4
commit b61ba9d1bb
6 changed files with 13 additions and 119 deletions

View File

@@ -67,7 +67,7 @@ impl<D: Db> ContinuallyRan for TxIndexTask<D> {
let txid = hash_bytes(tx.compute_txid().to_raw_hash());
for (o, output) in tx.output.iter().enumerate() {
let o = u32::try_from(o).unwrap();
// Set the script pub key for this transaction
// Set the script public key for this transaction
db::ScriptPubKey::set(&mut txn, txid, o, &output.script_pubkey.clone().into_bytes());
}
}