Update index.html

This commit is contained in:
sairaj mote 2023-09-25 03:11:30 +05:30
parent 1ebbf51bb4
commit deb352cf03

View File

@ -2857,7 +2857,7 @@
if (type) {
filteredSmartContracts = filteredSmartContracts.filter(sc => {
if (type === 'external-trigger') {
return sc.status !== 'active'; // only inactive contracts can be triggered externally
return sc.status === 'expired'; // only inactive contracts can be triggered externally
} else if (type === 'continuos-event' && dynamic) {
return sc.status === 'active' && sc.contractType === type && sc.oracle_address;
} else {