Commit e62e7947 authored by Iuri Matias's avatar Iuri Matias

add message about http json-rpc deprecation

parent 72d3af4f
......@@ -115,7 +115,7 @@ function ExecutionContext () {
this.blockGasLimit = this.blockGasLimitDefault
this.customNetWorks = {}
this.blocks = {}
this.latestBlockNumber = 0;
this.latestBlockNumber = 0
this.txs = {}
this.init = function (config) {
......
......@@ -54,7 +54,12 @@ class Server {
})
}
app.listen(port, host, () => log('Remix Simulator listening on port ' + host + ':' + port))
app.listen(port, host, () => {
log('Remix Simulator listening on ws://' + host + ':' + port)
if (!this.rpcOnly) {
log('http json-rpc is deprecated and disabled by default. To enable it use --rpc')
}
})
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment