Duplicated addresses? #3384

issue ghost opened this issue on December 10, 2013
  1. ghost commented at 7:23 PM on December 10, 2013: none

    I'm on version v0.8.5.0-gef14a26-beta - from deb.

    After some cleanup I noticed that some addresses get kinda-duplicates:

    shot

    The "explain" address was created by normally clicking "new address". "ulek.net" on the other hand was created by importprivkey.

    In both cases, I wanted to create/import one key/account. But somehow (after some time, not immediately) I got two.

    What's more - these additional accounts do not show in listaccounts:

    20:22:34 listaccounts
    
    20:22:34{
    "Bazowy adres" : 0.00000000,
    "Od Illiego" : 0.00000000,
    "explain" : 0.00000000,
    "ulek.net" : 0.00000000
    }
    

    Now sure what else I can show to help debug the problem - if there is anything, please let me know.

  2. laanwj commented at 6:05 AM on December 23, 2013: member

    Do not combine use of labels in the GUI and the accounts feature. Due to historical reasons these use the same wallet data in different ways. This causes strange conflicts. You won't lose coins due to it, but don't expect it to do anything sensible either.

  3. laanwj closed this on Dec 23, 2013

  4. laanwj reopened this on Dec 23, 2013

  5. ghost commented at 7:22 AM on December 23, 2013: none

    Sorry, I have no idea what you are talking about. I checked "listaccounts" only after I saw duplicated labels, with different numbers in bitcoin-qt. Again, to reiterate: I created an address by pressing "new address" in receive window, added it a label. After some time I got another address, with the same label, added. Same thing happened when I loaded privkey using "importprivkey" from debug window.

    The problem is not in what listaccounts shows, but rather in duplicated addresses in normal window, created by who-knows-what.

  6. laanwj commented at 7:30 AM on December 23, 2013: member

    So you are not using any of the account functionality through RPC? And purely using the GUI, except for importprivkey?

    BTW: it appears that the addresses are not duplicated. There are just multiple addresses with the same label.

  7. ghost commented at 7:35 AM on December 23, 2013: none

    Yes. The only thing I did not-clicking was importprivkey. And I know the address is not the same, but still - why is it there? How come it showed?

  8. laanwj commented at 7:44 AM on December 23, 2013: member

    Don't know, it does sound like a kind of bug. It shouldn't be creating new addresses automatically.

    Might be an issue while editing the label. Then after restarting the client there are suddenly more addresses. I remember a few problems with the address list have been fixed in 0.9, this may be one of them.

  9. laanwj closed this on Jul 31, 2014

  10. Bushstar referenced this in commit 27dfb5a34d on Apr 8, 2020
  11. MarcoFalke locked this on Sep 8, 2021
Contributors
Labels

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

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