Hello, I have a function that has the structure .signature
that adds signatures to a transfer, if I have 1 signature I use it only once, with I have three, as the example below, I use it three times:
signatures := transfer.signature(a[0], b[0]).signature(a[1], b[1]).signature(a[2], b[2])
I would like to create a something like:
var n int
for {
signatures := transfer.signature(a[n], b[n]). //after every loop append one more signature
n++
if n == number_of_signatures{
break
}
}
Aiming to avoid write a different signatures
for every different amount of signatures. Anyone could help me?