Bug fixes

This commit is contained in:
sairaj mote 2023-04-25 03:26:58 +05:30
parent 4a73c2bb12
commit d73aafaae0

View File

@ -2702,6 +2702,7 @@
floBlockchainAPI.sendTx(participantAddress, contractAddress, floGlobals.sendAmt, participantPrivateKey, floData).then(txid => { floBlockchainAPI.sendTx(participantAddress, contractAddress, floGlobals.sendAmt, participantPrivateKey, floData).then(txid => {
showTransactionResult(true, txid) showTransactionResult(true, txid)
getRef('smart_contract_participate_form').reset() getRef('smart_contract_participate_form').reset()
document.getElementById('participate_button').disabled = true
}).catch(error => { }).catch(error => {
showTransactionResult(false, error) showTransactionResult(false, error)
}).finally(() => { }).finally(() => {
@ -2735,6 +2736,7 @@
floBlockchainAPI.writeData(oracleAddress, floData, oraclePrivateKey, contractAddress).then((txid) => { floBlockchainAPI.writeData(oracleAddress, floData, oraclePrivateKey, contractAddress).then((txid) => {
showTransactionResult(true, txid) showTransactionResult(true, txid)
getRef('smart_contract_update_form').reset() getRef('smart_contract_update_form').reset()
document.getElementById('update_price_button').disabled = true
}).catch((error) => { }).catch((error) => {
showTransactionResult(false, error) showTransactionResult(false, error)
}).finally(() => { }).finally(() => {