forked from cerc-io/ipld-eth-server
update dependencies to work with update eth-block-extractor
This commit is contained in:
@@ -24,13 +24,13 @@ import (
|
||||
"github.com/ethereum/go-ethereum/ethclient"
|
||||
"github.com/ethereum/go-ethereum/rpc"
|
||||
|
||||
"github.com/vulcanize/vulcanizedb/pkg/core"
|
||||
"github.com/vulcanize/vulcanizedb/pkg/geth"
|
||||
"github.com/vulcanize/vulcanizedb/pkg/geth/client"
|
||||
vRpc "github.com/vulcanize/vulcanizedb/pkg/geth/converters/rpc"
|
||||
"github.com/vulcanize/vulcanizedb/pkg/geth/node"
|
||||
"github.com/vulcanize/vulcanizedb/pkg/ipfs"
|
||||
"github.com/vulcanize/vulcanizedb/utils"
|
||||
"github.com/vulcanize/vulcanizedb/pkg/core"
|
||||
)
|
||||
|
||||
// syncAndPublishCmd represents the syncAndPublish command
|
||||
@@ -65,7 +65,7 @@ func syncAndPublish() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
wg := syn.WaitGroup{}
|
||||
wg := &syn.WaitGroup{}
|
||||
err = indexer.Index(wg)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
@@ -86,4 +86,4 @@ func getBlockChainAndClients() (*geth.BlockChain, core.EthClient, core.RpcClient
|
||||
transactionConverter := vRpc.NewRpcTransactionConverter(ethClient)
|
||||
blockChain := geth.NewBlockChain(vdbEthClient, rpcClient, vdbNode, transactionConverter)
|
||||
return blockChain, ethClient, rpcClient
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user