Skip to content
Snippets Groups Projects
Commit 5e583b73 authored by matograine's avatar matograine
Browse files

[enh] #111: create compute_amounts() function

* Uses a list of user amounts and a multiplicator (should be CENT_MULT_TO_UNIT or UD_Value).
* Multiplies the given amounts(UD) to get usable int() amounts for Duniter.
* Makes sure that each amountUD is superior to the minimal amount.
    * Absolute amounts are in FloatRange(MINIMAL_AMOUNT), so they have already been checked.
    * This check should be updated when solving issue #306 / DUBP v13.
* Returns list of amounts.
parent 303e4f2c
No related branches found
No related tags found
2 merge requests!146Merge dev into master branch to complete v0.8.0 development cycle,!108#111: Multiple amounts support for multi-recipients transaction
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment