fix verify second
This commit is contained in:
parent
49a210fdff
commit
4020d0b5b9
@ -251,7 +251,7 @@ async function verify(tauFilename, verbose) {
|
|||||||
printContribution(curContr, prevContr);
|
printContribution(curContr, prevContr);
|
||||||
for (let i = contrs.length-2; i>=0; i--) {
|
for (let i = contrs.length-2; i>=0; i--) {
|
||||||
const curContr = contrs[i];
|
const curContr = contrs[i];
|
||||||
const prevContr = (curContr>0) ? contrs[i-1] : initialContribution;
|
const prevContr = (i>0) ? contrs[i-1] : initialContribution;
|
||||||
await verifyContribution(curve, curContr, prevContr);
|
await verifyContribution(curve, curContr, prevContr);
|
||||||
printContribution(curContr, prevContr);
|
printContribution(curContr, prevContr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user