pipe-wallet
pipe-wallet copied to clipboard
Possible typo
https://github.com/BennyTheDev/pipe-wallet/blob/93782aea0601d0ecd0040660acbf641e6cdb7248/pipe.mjs#L1448
Shouldn't this be amount + fee * 2n ?
Here too
https://github.com/BennyTheDev/pipe-wallet/blob/93782aea0601d0ecd0040660acbf641e6cdb7248/pipe.mjs#L1626
because if found is 2000 and rate is 10 and amount is 1000 so
2000 >= 1000 * 10 * 2n and got error
No, it means that if more or equal is found, it will break the loop and use the unspents that have been collected to this point.