save inputs list in record

pull/3094/head
yann300 6 years ago
parent 97059d0302
commit 1c898b8476
  1. 4
      src/recorder.js

@ -51,8 +51,8 @@ class Recorder {
record.to = `created{${creationTimestamp}}`
record.abi = this.data._contractABIReferences[creationTimestamp]
}
record.name = payLoad.funAbi.name
record.inputs = txHelper.serializeInputs(payLoad.funAbi)
record.type = payLoad.funAbi.type
udapp.getAccounts((error, accounts) => {
@ -202,7 +202,7 @@ class Recorder {
if (tx.record.type === 'constructor') {
fnABI = txHelper.getConstructorInterface(abi)
} else {
fnABI = txHelper.getFunction(abi, record.name)
fnABI = txHelper.getFunction(abi, record.name + record.inputs)
}
if (!fnABI) {
modal.alert('cannot resolve abi of ' + JSON.stringify(record, null, '\t') + '. Execution stopped at ' + index)

Loading…
Cancel
Save