Skip to content

Commit f4a6470

Browse files
committed
Merge pull request bnb-chain#2015 from bas-vk/console-instance-name
console: fix instance name printed incorrect on start
2 parents 66d47ce + 1ead43c commit f4a6470

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cmd/geth/js.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ func (self *jsre) batch(statement string) {
245245
func (self *jsre) welcome() {
246246
self.re.Run(`
247247
(function () {
248-
console.log('instance: ' + web3.version.client);
248+
console.log('instance: ' + web3.version.node);
249249
console.log(' datadir: ' + admin.datadir);
250250
console.log("coinbase: " + eth.coinbase);
251251
var ts = 1000 * eth.getBlock(eth.blockNumber).timestamp;

0 commit comments

Comments
 (0)