diff --git a/index.html b/index.html index f03990a..4a0a3d4 100644 --- a/index.html +++ b/index.html @@ -3044,7 +3044,7 @@ }).then((res) => { if (!res) return buttonLoader('trigger_contract_button', true) - floBlockchainAPI.writeData(contractAddress, floData, triggerPrivateKey, contractAddress).then((txid) => { + floBlockchainAPI.writeData(triggerAddress, floData, triggerPrivateKey, contractAddress).then((txid) => { showTransactionResult(true, txid, { title: 'Contract trigger initiated', })