Commit c9decd65 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #597 from ethereum/fixvmProvider

Dont set callback if vmprovider already set up
parents fd4b4dd0 5ad07e3e
......@@ -43,6 +43,7 @@ function web3VmProvider () {
}
web3VmProvider.prototype.setVM = function (vm) {
if (this.vm === vm) return
var self = this
this.vm = vm
this.vm.on('step', function (data) {
......
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