From 024d41d0c2660d8f1dfbeb14921c7109e30493a2 Mon Sep 17 00:00:00 2001 From: Jeffrey Wilcke Date: Wed, 22 Feb 2017 23:29:59 +0100 Subject: core, core/state, core/vm: remove exported account getters (#3618) Removed exported statedb object accessors, reducing the chance for nasty bugs to creep in. It's also ugly and unnecessary to have these methods. --- core/blockchain.go | 1 - 1 file changed, 1 deletion(-) (limited to 'core/blockchain.go') diff --git a/core/blockchain.go b/core/blockchain.go index cc0ddf1ed..b57eb48e3 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -214,7 +214,6 @@ func (self *BlockChain) loadLastState() error { return err } self.stateCache = statedb - self.stateCache.GetAccount(common.Address{}) // Issue a status log for the user headerTd := self.GetTd(currentHeader.Hash(), currentHeader.Number.Uint64()) -- cgit v1.2.3