aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-23 17:00:33 +0800
committerobscuren <geffobscura@gmail.com>2014-08-23 17:00:33 +0800
commit962255b373a0c8d7c2459cb25aaaa0dc4e492ecf (patch)
treeb62cfe7f55aa4b0526c5d5ed718414085cdafb9b /ethchain
parentd9d4f63cd4e3c9388ea8425e9d41f63af030c77c (diff)
downloadgo-tangerine-962255b373a0c8d7c2459cb25aaaa0dc4e492ecf.tar
go-tangerine-962255b373a0c8d7c2459cb25aaaa0dc4e492ecf.tar.gz
go-tangerine-962255b373a0c8d7c2459cb25aaaa0dc4e492ecf.tar.bz2
go-tangerine-962255b373a0c8d7c2459cb25aaaa0dc4e492ecf.tar.lz
go-tangerine-962255b373a0c8d7c2459cb25aaaa0dc4e492ecf.tar.xz
go-tangerine-962255b373a0c8d7c2459cb25aaaa0dc4e492ecf.tar.zst
go-tangerine-962255b373a0c8d7c2459cb25aaaa0dc4e492ecf.zip
Removed old code
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/block_chain.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/block_chain.go b/ethchain/block_chain.go
index 3b2914a37..74f47aa90 100644
--- a/ethchain/block_chain.go
+++ b/ethchain/block_chain.go
@@ -176,7 +176,7 @@ func (bc *BlockChain) setLastBlock() {
}
func (bc *BlockChain) SetTotalDifficulty(td *big.Int) {
- ethutil.Config.Db.Put([]byte("LastKnownTotalDifficulty"), td.Bytes())
+ ethutil.Config.Db.Put([]byte("LTD"), td.Bytes())
bc.TD = td
}