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
dispatch signature when proccess block (#85)
[bytom/vapor.git]
/
test
/
util.go
diff --git
a/test/util.go
b/test/util.go
index
9cd7150
..
d89ddd5
100644
(file)
--- a/
test/util.go
+++ b/
test/util.go
@@
-28,7
+28,7
@@
func MockChain(testDB dbm.DB) (*protocol.Chain, *database.Store, *protocol.TxPoo
store := database.NewStore(testDB)
dispatcher := event.NewDispatcher()
txPool := protocol.NewTxPool(store, dispatcher)
store := database.NewStore(testDB)
dispatcher := event.NewDispatcher()
txPool := protocol.NewTxPool(store, dispatcher)
- chain, err := protocol.NewChain(store, txPool)
+ chain, err := protocol.NewChain(store, txPool
, dispatcher
)
return chain, store, txPool, err
}
return chain, store, txPool, err
}