mirror of
https://github.com/status-im/op-geth.git
synced 2025-01-15 17:24:36 +00:00
console: fix instance name printed incorrect on start
This commit is contained in:
parent
66d47ced48
commit
1ead43c88c
@ -245,7 +245,7 @@ func (self *jsre) batch(statement string) {
|
|||||||
func (self *jsre) welcome() {
|
func (self *jsre) welcome() {
|
||||||
self.re.Run(`
|
self.re.Run(`
|
||||||
(function () {
|
(function () {
|
||||||
console.log('instance: ' + web3.version.client);
|
console.log('instance: ' + web3.version.node);
|
||||||
console.log(' datadir: ' + admin.datadir);
|
console.log(' datadir: ' + admin.datadir);
|
||||||
console.log("coinbase: " + eth.coinbase);
|
console.log("coinbase: " + eth.coinbase);
|
||||||
var ts = 1000 * eth.getBlock(eth.blockNumber).timestamp;
|
var ts = 1000 * eth.getBlock(eth.blockNumber).timestamp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user