OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: add build crosschain input (#91)
[bytom/vapor.git]
/
test
/
bench_blockchain_test.go
diff --git
a/test/bench_blockchain_test.go
b/test/bench_blockchain_test.go
index
f5f7783
..
dad704b
100644
(file)
--- a/
test/bench_blockchain_test.go
+++ b/
test/bench_blockchain_test.go
@@
-127,7
+127,7
@@
func GenerateChainData(dirPath string, testDB dbm.DB, txNumber, otherAssetNum in
// init UtxoViewpoint
utxoView := state.NewUtxoViewpoint()
// init UtxoViewpoint
utxoView := state.NewUtxoViewpoint()
- utxoEntry := storage.NewUtxoEntry(
fals
e, 1, false)
+ utxoEntry := storage.NewUtxoEntry(
storage.NormalUTXOTyp
e, 1, false)
for _, tx := range txs {
for _, id := range tx.SpentOutputIDs {
utxoView.Entries[id] = utxoEntry
for _, tx := range txs {
for _, id := range tx.SpentOutputIDs {
utxoView.Entries[id] = utxoEntry