aboutsummaryrefslogtreecommitdiffstats
path: root/ethpipe/pipe.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethpipe/pipe.go')
-rw-r--r--ethpipe/pipe.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethpipe/pipe.go b/ethpipe/pipe.go
index 5e5ff7000..50507143c 100644
--- a/ethpipe/pipe.go
+++ b/ethpipe/pipe.go
@@ -21,7 +21,7 @@ type VmVars struct {
type Pipe struct {
obj ethchain.EthManager
stateManager *ethchain.StateManager
- blockChain *ethchain.BlockChain
+ blockChain *ethchain.ChainManager
world *World
Vm VmVars
@@ -31,7 +31,7 @@ func New(obj ethchain.EthManager) *Pipe {
pipe := &Pipe{
obj: obj,
stateManager: obj.StateManager(),
- blockChain: obj.BlockChain(),
+ blockChain: obj.ChainManager(),
}
pipe.world = NewWorld(pipe)