Improve process of adding transformers

This commit is contained in:
Edvard
2018-12-12 15:41:29 +01:00
parent a86a2ec5c6
commit dc43547612
5 changed files with 134 additions and 84 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ type Fetcher struct {
blockChain core.BlockChain
}
func NewFetcher(blockchain core.BlockChain) Fetcher {
return Fetcher{
func NewFetcher(blockchain core.BlockChain) *Fetcher {
return &Fetcher{
blockChain: blockchain,
}
}