Browse Source

indentation

cl-refactor
DEV Mac Mini 10 years ago
parent
commit
75791462a2
  1. 11
      mix/qml/js/NetworkDeployment.js

11
mix/qml/js/NetworkDeployment.js

@ -157,12 +157,11 @@ function executeTr(blockIndex, trIndex, state, ctrAddresses, trHashes, callBack)
if (tr.contractId === tr.functionId) if (tr.contractId === tr.functionId)
rpcParams.code = codeModel.contracts[tr.contractId].codeHex + encodedParams.join(""); rpcParams.code = codeModel.contracts[tr.contractId].codeHex + encodedParams.join("");
else else
{ {
rpcParams.data = "0x" + func.qhash() + encodedParams.join(""); rpcParams.data = "0x" + func.qhash() + encodedParams.join("");
rpcParams.to = ctrAddresses[tr.contractId]; rpcParams.to = ctrAddresses[tr.contractId];
} }
var requests = [{ var requests = [{
jsonrpc: "2.0", jsonrpc: "2.0",
method: "eth_sendTransaction", method: "eth_sendTransaction",

Loading…
Cancel
Save