Fixes after merging staging

This commit is contained in:
Edvard
2018-12-11 15:19:27 +01:00
parent ff47e2e06e
commit 4e089c363e
4 changed files with 39 additions and 39 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ type Watcher struct {
}
func NewWatcher(db *postgres.DB, fetcher shared.LogFetcher, repository WatcherRepository,
transformerConfigs []shared.TransformerConfig) Watcher {
transformerConfigs []shared.TransformerConfig) Watcher {
var contractAddresses []common.Address
var topic0s []common.Hash
+2 -2
View File
@@ -143,10 +143,10 @@ var _ = Describe("Watcher", func() {
configA := shared2.TransformerConfig{TransformerName: "transformerA",
ContractAddresses: []string{"0x000000000000000000000000000000000000000A"},
Topic: "0xA"}
Topic: "0xA"}
configB := shared2.TransformerConfig{TransformerName: "transformerB",
ContractAddresses: []string{"0x000000000000000000000000000000000000000b"},
Topic: "0xB"}
Topic: "0xB"}
configs := []shared2.TransformerConfig{configA, configB}
logA := types.Log{Address: common.HexToAddress("0xA"),