manage fallback function

pull/3094/head
yann300 6 years ago
parent 1c898b8476
commit c31726cec2
  1. 2
      src/recorder.js

@ -201,6 +201,8 @@ class Recorder {
var fnABI var fnABI
if (tx.record.type === 'constructor') { if (tx.record.type === 'constructor') {
fnABI = txHelper.getConstructorInterface(abi) fnABI = txHelper.getConstructorInterface(abi)
} else if (tx.record.type === 'fallback') {
fnABI = txHelper.getFallbackInterface(abi)
} else { } else {
fnABI = txHelper.getFunction(abi, record.name + record.inputs) fnABI = txHelper.getFunction(abi, record.name + record.inputs)
} }

Loading…
Cancel
Save