aboutsummaryrefslogtreecommitdiffstats
path: root/ethpub/pub.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-17 20:07:52 +0800
committerobscuren <geffobscura@gmail.com>2014-05-17 20:07:52 +0800
commit8730dfdcc2e2b40410a57385e4864d15f2f0336b (patch)
treeeabf6400bc78b1796317fbb7cef642a7f2da2306 /ethpub/pub.go
parent88686cbed27ad2e7d5c111051e06c270b1b352a3 (diff)
downloaddexon-8730dfdcc2e2b40410a57385e4864d15f2f0336b.tar
dexon-8730dfdcc2e2b40410a57385e4864d15f2f0336b.tar.gz
dexon-8730dfdcc2e2b40410a57385e4864d15f2f0336b.tar.bz2
dexon-8730dfdcc2e2b40410a57385e4864d15f2f0336b.tar.lz
dexon-8730dfdcc2e2b40410a57385e4864d15f2f0336b.tar.xz
dexon-8730dfdcc2e2b40410a57385e4864d15f2f0336b.tar.zst
dexon-8730dfdcc2e2b40410a57385e4864d15f2f0336b.zip
Changed how changes are being applied to states
Diffstat (limited to 'ethpub/pub.go')
-rw-r--r--ethpub/pub.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethpub/pub.go b/ethpub/pub.go
index daacb9d78..2513f83ed 100644
--- a/ethpub/pub.go
+++ b/ethpub/pub.go
@@ -45,7 +45,7 @@ func (lib *PEthereum) GetKey() *PKey {
}
func (lib *PEthereum) GetStateObject(address string) *PStateObject {
- stateObject := lib.stateManager.ProcState().GetContract(ethutil.FromHex(address))
+ stateObject := lib.stateManager.CurrentState().GetContract(ethutil.FromHex(address))
if stateObject != nil {
return NewPStateObject(stateObject)
}