forked from cerc-io/ipld-eth-server
Refactor config to return an error instead of aborting
This commit is contained in:
1 parent
61cf7af2ec
commit
aa52088ba7
8 files changed
+60
-24
No files matched your search
@@ -18,7 +18,7 @@ var _ = Describe("Reading from the Geth blockchain", func() {
|
||||
|
||||
BeforeEach(func() {
|
||||
observer = fakes.NewFakeBlockchainObserver()
|
||||
cfg := config.NewConfig("private")
|
||||
cfg, _ := config.NewConfig("private")
|
||||
blockchain = geth.NewGethBlockchain(cfg.Client.IPCPath)
|
||||
observers := []core.BlockchainObserver{observer}
|
||||
listener = blockchain_listener.NewBlockchainListener(blockchain, observers)
|
||||
|
||||
Reference in new issue
Block a user