From 011258cbd51600f44846a1650627a92afc21086a Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Mon, 8 Apr 2019 11:11:10 +0800 Subject: core: fix genesis timestamp (#338) --- console/console.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console') 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 -- cgit v1.2.3