QT: Imported adress ends up in Adress tab on first import, then Recieve tab on same repeated import #3831

issue backlof opened this issue on March 9, 2014
  1. backlof commented at 5:56 PM on March 9, 2014: none

    Ubuntu 13.10 AMD64 in Live Distro Bitcoin QT 0.8.6 Linux download

    Start Bitcoin QT with

    $ ./bin/64/bitcoin-qt -datadir=data

    Open console window

    $ importprivkey "xxxxxxxxx" "Label"

    The adress shows up in Adress tab

    $ importprivkey (same arguments)

    Error .-4

    The adress moves from Adress tab to Recieve tab

    Behavior repeated consistently in the same environment.

  2. cozz commented at 8:38 PM on March 9, 2014: contributor

    bitcoin 0.8.6 showed addresses you own the private key in the receive tab, else in the address tab. The problem here is that we insert the address in the addressbook first and then import the private key after that. This results in the temporary bug you described. The address is shown in address tab until a refresh is triggered, then it switches to receive tab.

    The bug will (probably) be fixed in bitcoin 0.9, because we explicitly assign a "receive" purpose to each imported key. @backlof Would you mind testing this with 0.9rc2 and then close this issue, if fixed. I highly assume the problem to be fixed there. Please use this version ONLY in testing environment.

    https://bitcoin.org/bin/0.9.0/test/

  3. backlof commented at 10:18 PM on March 9, 2014: none

    I tested it with the version you linked me to, and you were correct. It works perfectly.

    Good job devs!

  4. backlof closed this on Mar 9, 2014

  5. 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-14 18:15 UTC

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