Fix transformer factory

This commit is contained in:
Edvard committed 2018-10-23 10:43:03 +02:00
1 parent 1b9e6491da
commit 15e33db33d
3 files changed
+45 -43

No files matched your search

@@ -17,6 +17,7 @@ package mocks
import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/vulcanize/vulcanizedb/pkg/core"
)
type MockLogFetcher struct {
@@ -35,6 +36,8 @@ func (mlf *MockLogFetcher) FetchLogs(contractAddresses []string, topics [][]comm
return mlf.FetchedLogs, mlf.fetcherError
}
func (mlf *MockLogFetcher) SetBC(_ core.BlockChain) {}
func (mlf *MockLogFetcher) SetFetcherError(err error) {
mlf.fetcherError = err
}