Smart Contract Auditor.
Bug Bounty Hunter.
Human r most vulnerable :)
Human r most vulnerable :)
What if both have different lengths ?
But In Rust, the zip method only iterates until one of the iterators is exhausted.
here comes the problem! :
Here, the third element in payouts (30) is ignored because multipliers has fewer elements.
What if both have different lengths ?
But In Rust, the zip method only iterates until one of the iterators is exhausted.
here comes the problem! :
Here, the third element in payouts (30) is ignored because multipliers has fewer elements.
zip() returns a new iterator that will iterate over two other iterators, returning a tuple where the first element comes from the first iterator, and the second element comes from the second iterator.
zip() returns a new iterator that will iterate over two other iterators, returning a tuple where the first element comes from the first iterator, and the second element comes from the second iterator.