OSDN Git Service

dispatch signature when proccess block (#85)
[bytom/vapor.git] / test / bench_blockchain_test.go
index 824d684..e987946 100644 (file)
@@ -140,7 +140,7 @@ func GenerateChainData(dirPath string, testDB dbm.DB, txNumber, otherAssetNum in
        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)
        if err != nil {
                return nil, nil, nil, err
        }