aboutsummaryrefslogtreecommitdiffstats
path: root/console
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-04-08 11:11:10 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:50:06 +0800
commit2629a5b88037c88b2b2a6724e31743e919d4c905 (patch)
treec8aa83f34ca613310b0d7eccfa580593a60626c9 /console
parentc5c0849d358303aebaaa15a791b721e8337777c6 (diff)
downloaddexon-2629a5b88037c88b2b2a6724e31743e919d4c905.tar
dexon-2629a5b88037c88b2b2a6724e31743e919d4c905.tar.gz
dexon-2629a5b88037c88b2b2a6724e31743e919d4c905.tar.bz2
dexon-2629a5b88037c88b2b2a6724e31743e919d4c905.tar.lz
dexon-2629a5b88037c88b2b2a6724e31743e919d4c905.tar.xz
dexon-2629a5b88037c88b2b2a6724e31743e919d4c905.tar.zst
dexon-2629a5b88037c88b2b2a6724e31743e919d4c905.zip
core: fix genesis timestamp (#338)
Diffstat (limited to 'console')
-rw-r--r--console/console.go2
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