DeFiCh / ain

DeFi Blockchain - enabling decentralized finance on Bitcoin
https://defichain.com
MIT License
401 stars 119 forks source link

OCG Voting rewards are not spendable #1763

Closed bernd-mack closed 1 year ago

bernd-mack commented 1 year ago

What happened:

voted with onchain governance and got reward on my address but wallet does not show tokenbalance and therefore the DFI are not spendable

What you expected to happen:

rewards from onchainvoting are listed in gettokenbalances and are spendable

How to reproduce it (as minimally and precisely as possible):

vote for a DFIP/CFP and get a reward. Reward is shown on defiscan but not on local wallet

What are your environment parameters:

defichain desktop wallet with latest noderelease

Anything else we need to know?:

restore with snapshot did not help and another telegram with multiple masternodes told that only one reward is shown in balance.

defichain-bot commented 1 year ago

@bernd-mack: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

Details I am a bot created to help the [DeFiCh](https://github.com/DeFiCh) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/DeFiCh/ain/blob/master/.github/governance.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [DeFiCh/oss-governance-bot](https://github.com/DeFiCh/oss-governance-bot) repository.
shohamc1 commented 1 year ago

Hey, thanks for opening this. It seems that the issue here is the token not showing up on gettokenbalances, which should be fixed by the linked PR.

By my testing, rewards are spendable and can be viewed using getaccount in the meantime.

bernd-mack commented 1 year ago

Thanks and sorry, the wording was not clear (German->English gets lost or does not arrive exactly with me from time to time a little bit of information) :( Spend if you build the transactions themselves or use account2utxos were not meant, only the gettokenbalances and thereby also the desktop wallet which presumably falls back on it and there with a 0 not automatically converts the tokens if you want to send something. => They are spendable, just not automatically when using desktop wallet