use passed in parameter and not global in log message.
Should shut up the race detector (and make the printf more correct)
This commit is contained in:
parent
2300b35731
commit
8a19f269ca
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ func ValidateTransactionScripts(tx *btcutil.Tx, txStore TxStore, flags btcscript
|
||||||
|
|
||||||
processFunc := func(txInIdx int) {
|
processFunc := func(txInIdx int) {
|
||||||
log.Tracef("validating tx %v input %v len %v",
|
log.Tracef("validating tx %v input %v len %v",
|
||||||
tx.Sha(), currentItem, len(job))
|
tx.Sha(), txInIdx, len(job))
|
||||||
txin := job[txInIdx]
|
txin := job[txInIdx]
|
||||||
originTxSha := &txin.PreviousOutpoint.Hash
|
originTxSha := &txin.PreviousOutpoint.Hash
|
||||||
origintxidx := txin.PreviousOutpoint.Index
|
origintxidx := txin.PreviousOutpoint.Index
|
||||||
|
|
Loading…
Reference in a new issue