fix: fix bugs in executeContract of NodeContractInstances.js
This commit is contained in:
parent
0dfa8a555a
commit
965ee67409
@ -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 = {};
|
||||
|
Loading…
Reference in New Issue
Block a user