feat: invoke fromDebug in NodePortal.html

This commit is contained in:
root
2021-06-16 12:11:09 +08:00
parent 0b16ec99cd
commit 900413f0e4
5 changed files with 44 additions and 19 deletions

View File

@@ -235,6 +235,7 @@ var executeContract = function () {
}
// console.log("[arg.gasLimit]"+arg.gasLimit);
request.pubkey = sm2Key.publicKey;
// request.isDebug = executeContractAsDebug.checked;
request.signature = sm2.doSignature(request.contractID + "|" + arg.action
+ "|" + arg.arg + "|" + sm2Key.publicKey, sm2Key.privateKey, {hash: true, der: true});
request.arg = JSON.stringify(arg);