Closed clifforous closed 1 month ago
Latest commit: eb28df8e02e8dee86914b487360ebdfe40829fdb
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Race condition checking the utxos array length while a fetch may still be happening asynchronously highlighed below.
I moved the array length check to before the fetch using the initial
response.data
array instead which should have the same behavior. I then removed the for loop since it is guaranteed after that check to be a single utxo in the array.