Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get vested balances fail with an entry with 0 days vesting #390

Closed
mindphlux1 opened this issue Oct 22, 2015 · 1 comment

Comments

@mindphlux1
Copy link

commented Oct 22, 2015

I have this worker entry which has 0 days vesting:

get_object 1.13.235
[{
"id": "1.13.235",
"owner": "1.2.22517",
"balance": {
"amount": 0,
"asset_id": "1.3.0"
},
"policy": [
1,{
"vesting_seconds": 0,
"start_claim": "1970-01-01T00:00:00",
"coin_seconds_earned": "0",
"coin_seconds_earned_last_update": "2015-10-21T09:51:27"
}
]
}
]

get_vested balances fails like this:

get_vesting_balances mindphlux
get_vesting_balances mindphlux
13 St12domain_error: divide by zero
divide by zero:
{"account_name":"mindphlux","what":"divide by zero"}
th_a wallet.cpp:1551 get_vesting_balances

Thanks,
mindphlux

theoreticalbts added a commit to theoreticalbts/graphene that referenced this issue Oct 30, 2015
theoreticalbts added a commit to theoreticalbts/graphene that referenced this issue Oct 30, 2015
@theoreticalbts

This comment has been minimized.

Copy link
Contributor

commented Nov 2, 2015

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.