Update txFormat.js

pull/3094/head
yann300 7 years ago committed by GitHub
parent 3199ff5c82
commit 3738d43584
  1. 2
      src/app/execution/txFormat.js

@ -50,7 +50,7 @@ module.exports = {
var data = ''
var dataHex = ''
if (params.indexOf('"0x') === 0) {
if (params.indexOf('0x') === 0) {
dataHex = params.match(/"(.*?)"/)[1].replace('0x', '')
data = Buffer.from(dataHex, 'hex')
} else {

Loading…
Cancel
Save