fix: fix bugs in executeContract of NodeContractInstances.js

This commit is contained in:
Frank.R.Wu 2021-12-12 12:25:36 +08:00
parent 0dfa8a555a
commit 965ee67409

View File

@ -400,7 +400,7 @@ function executeContract() {
console.log(request.arg);
const gasLimit = $('#gasLimit').val() / 1;
var toSign = request.contractID + "|"
+ request.operation + "|" + arg ;
+ request.operation + "|" + request.arg;
if (gasLimit > 0) {
request.gasLimit = gasLimit;
toSign += "|" + gasLimit;
@ -474,6 +474,7 @@ function getMask() {
localStorage.setItem("persisArg", JSON.stringify(request));
global.wssocket.send(JSON.stringify(request));
}
function setMask() {
const argDiv = $('#maskArg')[0];
const request = {};