|
|
@ -26,7 +26,7 @@ class Recorder { |
|
|
|
var record = { value, parameters: payLoad.funArgs } |
|
|
|
var record = { value, parameters: payLoad.funArgs } |
|
|
|
if (!to) { |
|
|
|
if (!to) { |
|
|
|
var abi = payLoad.contractABI |
|
|
|
var abi = payLoad.contractABI |
|
|
|
var keccak = ethutil.bufferToHex(ethutil.keccak(abi)) |
|
|
|
var keccak = ethutil.bufferToHex(ethutil.keccak(JSON.stringify(abi))) |
|
|
|
record.abi = keccak |
|
|
|
record.abi = keccak |
|
|
|
record.contractName = payLoad.contractName |
|
|
|
record.contractName = payLoad.contractName |
|
|
|
record.bytecode = payLoad.contractBytecode |
|
|
|
record.bytecode = payLoad.contractBytecode |
|
|
|