mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-24 14:35:53 +00:00
Rename a couple of variables.
This commit is contained in:
parent
08d983b84a
commit
3c0b74208a
@ -90,9 +90,9 @@ func buildTestUTXOCollection() model.UTXOCollection {
|
|||||||
Script: utxoEntryScriptPublicKeyScript[:],
|
Script: utxoEntryScriptPublicKeyScript[:],
|
||||||
Version: utxoEntryScriptPublicKeyVersion,
|
Version: utxoEntryScriptPublicKeyVersion,
|
||||||
}
|
}
|
||||||
isCoinbase := rand.Float32() > 0.5
|
utxoEntryIsCoinbase := rand.Float32() > 0.5
|
||||||
blockBlueScore := rand.Uint64()
|
utxoEntryBlockBlueScore := rand.Uint64()
|
||||||
utxoEntry := utxo.NewUTXOEntry(utxoEntryAmount, utxoEntryScriptPublicKey, isCoinbase, blockBlueScore)
|
utxoEntry := utxo.NewUTXOEntry(utxoEntryAmount, utxoEntryScriptPublicKey, utxoEntryIsCoinbase, utxoEntryBlockBlueScore)
|
||||||
|
|
||||||
utxoMap[*outpoint] = utxoEntry
|
utxoMap[*outpoint] = utxoEntry
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user