diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-08 11:11:10 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:59 +0800 |
commit | 714b173e3618c97f109d6f23fd912ae7b1dc79af (patch) | |
tree | 72a2de4af89003c94d2b14a15105653dc1c14067 /console/console.go | |
parent | 497d7a31d284682eb0214d75f04a366b44cc9c33 (diff) | |
download | dexon-714b173e3618c97f109d6f23fd912ae7b1dc79af.tar dexon-714b173e3618c97f109d6f23fd912ae7b1dc79af.tar.gz dexon-714b173e3618c97f109d6f23fd912ae7b1dc79af.tar.bz2 dexon-714b173e3618c97f109d6f23fd912ae7b1dc79af.tar.lz dexon-714b173e3618c97f109d6f23fd912ae7b1dc79af.tar.xz dexon-714b173e3618c97f109d6f23fd912ae7b1dc79af.tar.zst dexon-714b173e3618c97f109d6f23fd912ae7b1dc79af.zip |
core: fix genesis timestamp (#338)
Diffstat (limited to 'console/console.go')
-rw-r--r-- | console/console.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console/console.go b/console/console.go index c36b2e0c4..898a945e2 100644 --- a/console/console.go +++ b/console/console.go @@ -278,7 +278,7 @@ func (c *Console) Welcome() { fmt.Fprintf(c.printer, "Welcome to the Geth JavaScript console!\n\n") c.jsre.Run(` console.log("instance: " + web3.version.node); - console.log("at block: " + eth.blockNumber + " (" + new Date(1000 * eth.getBlock(eth.blockNumber).timestamp) + ")"); + console.log("at block: " + eth.blockNumber + " (" + new Date(eth.getBlock(eth.blockNumber).timestamp) + ")"); console.log(" datadir: " + admin.datadir); `) // List all the supported modules for the user to call |