aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-09 06:21:09 +0800
committerobscuren <geffobscura@gmail.com>2014-02-09 06:21:09 +0800
commit67572417c6522647d7d14c1042c427b5edd9973e (patch)
treed324e0823ae8de3562aaa97333fefb8ab7ac596d /ethereum.go
parent542bc2fce4c6d65fd5346b64f2aa0a80f23d3480 (diff)
downloadgo-tangerine-67572417c6522647d7d14c1042c427b5edd9973e.tar
go-tangerine-67572417c6522647d7d14c1042c427b5edd9973e.tar.gz
go-tangerine-67572417c6522647d7d14c1042c427b5edd9973e.tar.bz2
go-tangerine-67572417c6522647d7d14c1042c427b5edd9973e.tar.lz
go-tangerine-67572417c6522647d7d14c1042c427b5edd9973e.tar.xz
go-tangerine-67572417c6522647d7d14c1042c427b5edd9973e.tar.zst
go-tangerine-67572417c6522647d7d14c1042c427b5edd9973e.zip
Use the generated key
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum.go b/ethereum.go
index 902b9ae9c..8bbb797d3 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -109,7 +109,7 @@ func main() {
// Fake block mining. It broadcasts a new block every 5 seconds
go func() {
pow := &ethchain.EasyPow{}
- addr, _ := hex.DecodeString("82c3b0b72cf62f1a9ce97c64da8072efa28225d8")
+ addr, _ := ethutil.Config.Db.Get([]byte("KeyRing"))
for {
txs := ethereum.TxPool.Flush()