diff options
author | obscuren <geffobscura@gmail.com> | 2014-02-09 06:21:09 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-02-09 06:21:09 +0800 |
commit | 67572417c6522647d7d14c1042c427b5edd9973e (patch) | |
tree | d324e0823ae8de3562aaa97333fefb8ab7ac596d | |
parent | 542bc2fce4c6d65fd5346b64f2aa0a80f23d3480 (diff) | |
download | dexon-67572417c6522647d7d14c1042c427b5edd9973e.tar.gz dexon-67572417c6522647d7d14c1042c427b5edd9973e.tar.zst dexon-67572417c6522647d7d14c1042c427b5edd9973e.zip |
Use the generated key
-rw-r--r-- | ethereum.go | 2 |
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 := ðchain.EasyPow{} - addr, _ := hex.DecodeString("82c3b0b72cf62f1a9ce97c64da8072efa28225d8") + addr, _ := ethutil.Config.Db.Get([]byte("KeyRing")) for { txs := ethereum.TxPool.Flush() |