DigiByte-Core / digibyte

DigiByte Core 7.17.3 - CURRENT (5-12-2021) - 8.22.0 Development
https://digibyte.org
MIT License
102 stars 62 forks source link

Imported a private key, the balance shows correct but can't send funds #202

Closed skironDotNet closed 8 months ago

skironDotNet commented 8 months ago

Digibyte-qt v7.17.3 for Linux After importing a private key with confirmed balance, the balance is shown but coin control window shows no inputs. When trying to send, the wallets displays "The amount exceeds your balance." when clicked "Use available balance" it turns entry field to 0.

The chain is synced. In debug console list-unspent shows nothing.

Can this be related to the fact now HD wallet is forced in this version to must be enabled and the coin control or otherwise UTXO check doesn't include imported keys?

ghost commented 8 months ago

https://github.com/DigiByte-Core/digibyte/pull/182 this pr should fix it.

skironDotNet commented 8 months ago

in which version this fix to be expected? I'm hesitant to run 8.x.x-RC

skironDotNet commented 8 months ago

actually I looked at the commit, looks like an easy fix, I'll just for from 7.17.3 and build my own with this fix. Thank you

ghost commented 8 months ago

This fix is in RC4.

ycagel commented 8 months ago

Are we able to close this issue?

skironDotNet commented 8 months ago

yes

skironDotNet commented 8 months ago

Should not have closed that, the 7.17.3 does not even have a variable DEFAULT_MAX_DEPTH How the bug preventing spending is present in a version released in Jun 21, 2020, that's like almost 4 years when people can't spend

skironDotNet commented 8 months ago

@Jongjan88 there is no RC4 as well... no wonder DGB has hard time to grow in price if things are broken for so long (sorry to say)

ghost commented 8 months ago

@skironDotNet it only affects old wallets. Coins in blocks older then 9999999999 so the problem is not that old. but will be fixed in rc4. You can build DigiByte 8 dev branch.

skironDotNet commented 8 months ago

So the Dev is stable enough to just send funds? Many thanks

ghost commented 8 months ago

It is rc3 with some small changes. Make first good backups off your private key. And first test small amount.

skironDotNet commented 8 months ago

I just complied develop and tested, and it works. I would not close the issue until RC4 is released. But feel free to close, since this is technically fixed via #182