firoorg / firo

The privacy-focused cryptocurrency
https://firo.org
MIT License
720 stars 354 forks source link

New Spark address created via debug console not shown in receiving addresses #1288

Closed Znod closed 1 year ago

Znod commented 1 year ago

Describe the issue

When creating a new spark address via console the address does not show up in receiving addresses. For transparent addresses it works. (see attached video)

Also

debug command "getprivatebalance" returns 0.00.... despite a balance as per screenshot debug command "listaddressbalances 0.01" shows {} despite several (spark) balances exist (maybe we need a "listsparkaddressbalances" command? - while I would prefer to see all (transparent and spark addresses with such a command))

as per screenshot

Local setup

Ubuntu 22.04 running Testnet v0.14.12.4-g0f292f6f0

Screenshot from 2023-08-02 13-22-12

Any extra information that might be useful in the debugging process.

Znod commented 1 year ago

Seems the mentioned video attachment got lost in previous post... Screencast from 02-08-23 13:13:47.webm

justanwar commented 1 year ago

Reproducible.

For balance issues, we have getsparkbalance but probably not what you are looking for. Please open a new separate issue.

Znod commented 1 year ago

getsparkbalance

Thanks - getsparkbalance does what I need. as per above by RESTfulRacoon getprivatebalance seems redundant with spark?

justanwar commented 1 year ago

Please reply to this post with a mainnet Firo address for the bug bounty payout. Use a new address that has never been used before. Make sure to anonymize after receiving!

Znod commented 1 year ago

aPY4WVstEVgppZKbgcwP7Xxw2KoNt1sJwg

Thanks! It´s a pleasure testing Firo!

justanwar commented 1 year ago

TXID: 323a1f0314c69243d0e90272ebd59bccc6aa96fb7c441c79899ada6cbc01f771

Bounty paid: Type: UI Amount: 5 Firo

justanwar commented 1 year ago

Fixed in https://github.com/TheArcadiaGroup/firo_spark/commit/1f971513be7549fc8b21d9244eeed6b6db8f2ec8