Better validation on `amount` with sendtoaddress #6510

issue RHavar opened this issue on August 3, 2015
  1. RHavar commented at 9:31 PM on August 3, 2015: contributor

    Just accidentally double-pasted a bitcoin address:

    bitcoin-cli sendtoaddress 1bitcoinaddress 1bitcoinaddress
    

    and it dutifully sent 1 bitcoin to 1bitcoinaddress (even though i reflexively hit ctrl+c in a few ms). While I'm just glad the bitcoin address didn't start with 2 leading numbers, it seems like better validation in this case would be rather useful

  2. laanwj commented at 6:55 AM on August 4, 2015: member

    Duplicate of #6223, already fixed by #6226

  3. laanwj closed this on Aug 4, 2015

  4. MarcoFalke locked this on Sep 8, 2021
Contributors

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-13 15:15 UTC

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