A set of amount preference
fixes
#129
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Some issues I think are worth fixing:
createSplitPayload
), not only forproofsToSend
(but alsoproofsToKeep
)splitAmount
seems to "fill up the rest" with 2^n even ifamountPreference
is set. Is this intended?2^n
, since this is not generally the case. Replace this check by checking if every amount has a key.AmountPrefernce
object{ amount: int, count: int }
with a simplenumber[]
that holds the requested amounts (feels cleaner to me).The text was updated successfully, but these errors were encountered: