backup wallet causes bitcoin-qt to use used addresses to receive change and confuses coincontrol #4192

issue romerun opened this issue on May 17, 2014
  1. romerun commented at 4:07 AM on May 17, 2014: none

    To reproduce,

    using bitcoin-qt

    1. save wallet.dat
    2. getnewaddress for fresh addresses to receive, and send some coins to them
    3. use the saved wallet.dat from 1. to send another transaction that causes change
    4. the change will end up on a used address

    another way

    1. use the saved wallet.dat from 1. , call getnewaddress, it will return a used address from step 2.

    Coincontrol inputs get confused too, not sure how to put it in words. But it will get back to normal after calling getnewaddress a few times to the point where getnewaddress returns a real fresh address.

  2. romerun renamed this:
    backup wallet causes bitcoin-qt to use existing addresses to receive change and confuses coincontrol
    backup wallet causes bitcoin-qt to use used addresses to receive change and confuses coincontrol
    on May 17, 2014
  3. rebroad commented at 11:07 AM on May 17, 2014: contributor

    #3791 already raised for this...

  4. gavinandresen commented at 7:21 PM on May 19, 2014: contributor

    Closing as duplicate.

  5. gavinandresen closed this on May 19, 2014

  6. bitcoin 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-05-20 06:55 UTC