Ravencoin icon indicating copy to clipboard operation
Ravencoin copied to clipboard

console commands and wallet display issue

Open MSFTserver opened this issue 6 years ago • 2 comments

Describe the issue

when using the command setaccount "addy" "label" it generates a new address at that label so now there are 2 addys with same label, also upon using the command getaccount "label" is returning the old address that used to be there before using setaccount but looking at the receiving address window it shows the new address

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. rename a wallet using setaccount "addy" "label"
  2. the type getaccountaddress "label"
  3. old address is returned
  4. go to receiving address tab new addy is there for label

Expected behaviour

getaccountaddress should coincide with getaccountbalance and setaccount

Actual behaviour

there are some discrepancies between the running these commands that caused me a ton of confusing trying to import a new address for someone

Screenshots.

img

What version of bitcoin-core are you using?

Official binary

Machine specs:

  • OS: Windows 10

MSFTserver avatar May 21 '18 04:05 MSFTserver

hmm going back today I tried one and it didn't double up but still the display issue

MSFTserver avatar May 21 '18 23:05 MSFTserver

I can not reproduce on latest develop commit 963d77eabf614e2f962957aeb914a04197430ed9

setaccount address label generates new address and sets the label.

getaccountaddress label shows the last generated address.

fdoving avatar May 24 '21 16:05 fdoving