Rename a couple of variables.

This commit is contained in:
stasatdaglabs 2021-01-28 12:49:45 +02:00
parent 08d983b84a
commit 3c0b74208a

View File

@ -90,9 +90,9 @@ func buildTestUTXOCollection() model.UTXOCollection {
Script: utxoEntryScriptPublicKeyScript[:],
Version: utxoEntryScriptPublicKeyVersion,
}
isCoinbase := rand.Float32() > 0.5
blockBlueScore := rand.Uint64()
utxoEntry := utxo.NewUTXOEntry(utxoEntryAmount, utxoEntryScriptPublicKey, isCoinbase, blockBlueScore)
utxoEntryIsCoinbase := rand.Float32() > 0.5
utxoEntryBlockBlueScore := rand.Uint64()
utxoEntry := utxo.NewUTXOEntry(utxoEntryAmount, utxoEntryScriptPublicKey, utxoEntryIsCoinbase, utxoEntryBlockBlueScore)
utxoMap[*outpoint] = utxoEntry
}