Update index.html

This commit is contained in:
sairaj mote 2023-09-25 03:22:52 +05:30
parent 008231738e
commit 131ecf5bb4

View File

@ -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',
})