Skip to content
Snippets Groups Projects
Select Git revision
8 results Searching

test_unit_tx.py

  • Moul's avatar
    95bf6ffd
    fixup! [enh] #111 : create compute_amounts() function * Uses a list of user... · 95bf6ffd
    Moul authored
    fixup! [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.
    
    - Do the check after the generation of the amount list
    - Change conditions to be more precise and easier to read
    - Rename variable to UDs_amounts
    - Remove useless commas
    95bf6ffd
    History
    fixup! [enh] #111 : create compute_amounts() function * Uses a list of user...
    Moul authored
    fixup! [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.
    
    - Do the check after the generation of the amount list
    - Change conditions to be more precise and easier to read
    - Rename variable to UDs_amounts
    - Remove useless commas