diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-05 17:31:39 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-05 17:31:39 +0800 |
commit | 4edf7cfb0543555921a79f572c749615c4997ea7 (patch) | |
tree | c67924b2c2e5596dd6b9b6dd8603b1faec18b472 /ethpipe/world.go | |
parent | 3c78e418fbe70cfb574302f00962cf7fac50f69e (diff) | |
download | dexon-4edf7cfb0543555921a79f572c749615c4997ea7.tar.gz dexon-4edf7cfb0543555921a79f572c749615c4997ea7.tar.zst dexon-4edf7cfb0543555921a79f572c749615c4997ea7.zip |
config => Config
Diffstat (limited to 'ethpipe/world.go')
-rw-r--r-- | ethpipe/world.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ethpipe/world.go b/ethpipe/world.go index 2c6b0b4b9..72e116d09 100644 --- a/ethpipe/world.go +++ b/ethpipe/world.go @@ -8,12 +8,12 @@ import ( type World struct { pipe *Pipe - cfg *config + cfg *Config } func NewWorld(pipe *Pipe) *World { world := &World{pipe, nil} - world.cfg = &config{pipe} + world.cfg = &Config{pipe} return world } @@ -55,6 +55,6 @@ func (self *World) Peers() *list.List { return self.pipe.obj.Peers() } -func (self *World) Config() *config { +func (self *World) Config() *Config { return self.cfg } |