Fix transformer factory

This commit is contained in:
Edvard
2018-10-23 10:43:03 +02:00
parent 1b9e6491da
commit 15e33db33d
3 changed files with 45 additions and 43 deletions
@@ -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
}