Skip to content

Commit

Permalink
Change IsNCTEligible to NotNCTEligible
Browse files Browse the repository at this point in the history
  • Loading branch information
dave committed Aug 1, 2022
1 parent a04a88e commit ae19834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/toucan-genesis-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"Method": "method1",
"EmissionType": "emissionType1",
"Category": "category1",
"IsNCTEligible": true,
"NotNCTEligible": false,
"Uri": "uri1",
"Vintages": [
{
Expand Down Expand Up @@ -42,7 +42,7 @@
"Method": "method2",
"EmissionType": "emissionType2",
"Category": "category2",
"IsNCTEligible": false,
"NotNCTEligible": true,
"Uri": "uri2",
"Vintages": [
{
Expand Down
2 changes: 1 addition & 1 deletion lib/toucan.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function setEligibleMethodologies(contracts, admin) {
let eligibleNCTMethodologies = [];

for (const project of genesis) {
if (project.IsNCTEligible ?? true) {
if (project.NotNCTEligible ?? true) {
eligibleNCTMethodologies.push(project.Methodology);
}
}
Expand Down

0 comments on commit ae19834

Please sign in to comment.