diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-08 11:11:10 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 22:09:55 +0800 |
commit | 011258cbd51600f44846a1650627a92afc21086a (patch) | |
tree | b3624996687c6575339073d4bd8079b0872b41ae /console | |
parent | 2b6c8c733a52f686c7f418bb5218f53aa8c19a8d (diff) | |
download | go-tangerine-011258cbd51600f44846a1650627a92afc21086a.tar go-tangerine-011258cbd51600f44846a1650627a92afc21086a.tar.gz go-tangerine-011258cbd51600f44846a1650627a92afc21086a.tar.bz2 go-tangerine-011258cbd51600f44846a1650627a92afc21086a.tar.lz go-tangerine-011258cbd51600f44846a1650627a92afc21086a.tar.xz go-tangerine-011258cbd51600f44846a1650627a92afc21086a.tar.zst go-tangerine-011258cbd51600f44846a1650627a92afc21086a.zip |
core: fix genesis timestamp (#338)
Diffstat (limited to 'console')
-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 |