Update index.html
This commit is contained in:
parent
1ebbf51bb4
commit
deb352cf03
@ -2857,7 +2857,7 @@
|
|||||||
if (type) {
|
if (type) {
|
||||||
filteredSmartContracts = filteredSmartContracts.filter(sc => {
|
filteredSmartContracts = filteredSmartContracts.filter(sc => {
|
||||||
if (type === 'external-trigger') {
|
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) {
|
} else if (type === 'continuos-event' && dynamic) {
|
||||||
return sc.status === 'active' && sc.contractType === type && sc.oracle_address;
|
return sc.status === 'active' && sc.contractType === type && sc.oracle_address;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user