Skip to content

Conversation

chirag-parmar
Copy link
Contributor

No description provided.

@chirag-parmar chirag-parmar changed the title pass list item instead of list portal: pass list item instead of list Jun 18, 2025
@chirag-parmar chirag-parmar requested a review from bhartnett June 18, 2025 14:03
for v in node:
x = newSeqOfCap[Authorization](node.len)
x.add parseAuth(node)
x.add parseAuth(v)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code still doesn't look right. Why does the seq get recreated on each iteration of the loop?
x = newSeqOfCap[Authorization](node.len)

I didn't write this code so perhaps @kdeme has a better idea?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know either, I did not write it. It got copied over from premix before that got removed

@tersec
Copy link
Contributor

tersec commented Jun 25, 2025

Everything about this seems weird, but, sure.

It looks like an improvement?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants