getnewaddress return used address #4509

issue mgosk opened this issue on July 11, 2014
  1. mgosk commented at 1:55 PM on July 11, 2014: none

    Function get new addres return previously used address.

    To reproduce:

    1. Make withdraw. (coins go from address A to address B, change go to C)
    2. Call getnewaddress (it return C)

    Example: On 03.07.2014 I make withdraw to address: 1GCS7HGigMY3nsNvDdEQB332kHeNvnpiS6 TxId: db48c0e7f4d41ead6976cd24aba8668a76a8881a790694125f3e399a461a67c7 Change return to: https://blockchain.info/pl/address/1Bo5aiyzN2gkusA4kDeNFXZ94LiAcch6og

    Today I call getnewaddress and recive same 1Bo5aiyzN2gkusA4kDeNFXZ94LiAcch6og

    Bitcoind version: 90000 all calls maked via json-rpc API

  2. laanwj commented at 1:58 PM on July 11, 2014: member

    Did you restore a wallet backup at some point?

  3. mgosk commented at 2:08 PM on July 11, 2014: none

    No for 99%. I encrypt wallet on some point of time, but almost sure that happend before 30.06

    EDIT: I look for debug log and on the moment when I call getnewaddress and I have: 2014-07-11 08:53:09 keypool reserve 5 2014-07-11 08:53:09 keypool keep 5 No keys from pool are waste.

  4. laanwj added the label Wallet on Jul 11, 2014
  5. laanwj added the label Bug on Jul 11, 2014
  6. MarcoFalke commented at 9:31 PM on November 21, 2015: member

    @mgosk Could you reproduce this issue another time?

  7. meshcollider commented at 12:11 PM on March 14, 2018: contributor

    Issue seems stale, closing unless anyone can reproduce

  8. meshcollider closed this on Mar 14, 2018

  9. 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-21 15:15 UTC

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