diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-15 19:05:13 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-15 19:05:13 +0800 |
commit | d701b232304149f5e9035213d1710ab71cc4a01d (patch) | |
tree | 1420c2e625aa25e7c7543ab07e0307cbaa974031 /ethpipe/world.go | |
parent | ace551030fbe9288d0d8660f9431867a42e98c88 (diff) | |
download | dexon-d701b232304149f5e9035213d1710ab71cc4a01d.tar dexon-d701b232304149f5e9035213d1710ab71cc4a01d.tar.gz dexon-d701b232304149f5e9035213d1710ab71cc4a01d.tar.bz2 dexon-d701b232304149f5e9035213d1710ab71cc4a01d.tar.lz dexon-d701b232304149f5e9035213d1710ab71cc4a01d.tar.xz dexon-d701b232304149f5e9035213d1710ab71cc4a01d.tar.zst dexon-d701b232304149f5e9035213d1710ab71cc4a01d.zip |
Reworking the public js interface (pub) => (pipe)
Diffstat (limited to 'ethpipe/world.go')
-rw-r--r-- | ethpipe/world.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ethpipe/world.go b/ethpipe/world.go index 72e116d09..4666362f9 100644 --- a/ethpipe/world.go +++ b/ethpipe/world.go @@ -30,6 +30,10 @@ func (self *World) Get(addr []byte) *Object { return &Object{self.State().GetStateObject(addr)} } +func (self *World) SafeGet(addr []byte) *Object { + return &Object{self.safeGet(addr)} +} + func (self *World) safeGet(addr []byte) *ethstate.StateObject { object := self.State().GetStateObject(addr) if object == nil { |