This commit is contained in:
Frank.R.Wu 2021-12-11 19:15:13 +08:00
parent 37476bd506
commit 0dfa8a555a

View File

@ -224,7 +224,7 @@ function executeContract() {
const arg = executeContractArgInput.value; const arg = executeContractArgInput.value;
const gasLimit = $('#gasLimit').val() / 1; const gasLimit = $('#gasLimit').val() / 1;
request.pubkey = sm2Key.publicKey; request.pubkey = sm2Key.publicKey;
var toSign = request.contractID + "|" let toSign = request.contractID + "|"
+ request.operation + "|" + arg; + request.operation + "|" + arg;
if (gasLimit > 0) { if (gasLimit > 0) {
request.gasLimit = gasLimit; request.gasLimit = gasLimit;