Update vmdebugger.js

pull/1/head
yann300 6 years ago committed by GitHub
parent 38db7fea75
commit e84bbccde7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test-browser-debugger/test/vmdebugger.js

@ -37,7 +37,7 @@ function loadTraceNotFound (browser) {
.setValue('#txinput', '0x20ef65b8b186ca942zcccd634f37074dde49b541c27994fc7596740ef44cfd51') .setValue('#txinput', '0x20ef65b8b186ca942zcccd634f37074dde49b541c27994fc7596740ef44cfd51')
.click('#load') .click('#load')
.execute(function () { .execute(function () {
return document.querySelector('#debugger #error').innerHTML return document.querySelector('div[class^="container"] #error').innerHTML
}, [], function (result) { }, [], function (result) {
console.log(result.value) console.log(result.value)
if (result.value.indexOf('unable to retrieve tx 0x20ef65b8b186ca942zcccd634f37074dde49b541c27994fc7596740ef44cfd51') === -1) { if (result.value.indexOf('unable to retrieve tx 0x20ef65b8b186ca942zcccd634f37074dde49b541c27994fc7596740ef44cfd51') === -1) {

Loading…
Cancel
Save