save inputs list in record

pull/1/head
yann300 6 years ago
parent 13b042be0a
commit 25e098e34f
  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