Clarify CreateTransaction error messages #9204

pull instagibbs wants to merge 1 commits into bitcoin:master from instagibbs:nonneg changing 1 files +3 −3
  1. instagibbs commented at 6:21 PM on November 22, 2016: member

    Logic change removing nValue check is fine since value won't be negative, and thus can give a better error.

  2. in src/wallet/wallet.cpp:None in 54f2b12b8d outdated
    2335 |                              else
    2336 | -                                strFailReason = _("The transaction amount is too small to send after the fee has been deducted");
    2337 | +                                strFailReason = _("The transaction output amount is too small to send after the fee has been deducted");
    2338 |                          }
    2339 |                          else
    2340 |                              strFailReason = _("Transaction amount too small");
    


    morcos commented at 6:35 PM on November 22, 2016:

    Do you want to include this line too? Not sure it's worth changing these, but if you are going to, perhaps you could be even more clear "One of the transaction output amounts .." or similar


    instagibbs commented at 6:40 PM on November 22, 2016:

    you're right not important, thought I changed it back

  3. instagibbs force-pushed on Nov 22, 2016
  4. fix CreateTransaction error messages 918b126901
  5. instagibbs force-pushed on Nov 22, 2016
  6. sipa commented at 10:19 PM on November 22, 2016: member

    utACK

  7. fanquake added the label Docs and Output on Nov 23, 2016
  8. fanquake commented at 6:36 AM on November 23, 2016: member

    utACK 918b126

  9. jonasschnelli commented at 7:24 AM on November 23, 2016: contributor

    trivial utACK 918b126901d6fd76f8ec49fce69a60d7819d3a57

  10. laanwj merged this on Nov 23, 2016
  11. laanwj closed this on Nov 23, 2016

  12. laanwj referenced this in commit 74ced54b7e on Nov 23, 2016
  13. codablock referenced this in commit 898bd4395d on Jan 15, 2018
  14. andvgal referenced this in commit 1ee9c216a0 on Jan 6, 2019
  15. CryptoCentric referenced this in commit d9b405922d on Feb 24, 2019
  16. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me