Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Commit e1859a0

Browse files
committed
Release 0.20.5
0.20.5 ------ * fix get_effective_vesting_shares()
1 parent 3947677 commit e1859a0

7 files changed

Lines changed: 11 additions & 6 deletions

File tree

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
Changelog
22
=========
3+
0.20.5
4+
------
5+
* fix get_effective_vesting_shares()
6+
37
0.20.4
48
------
59
* get_effective_vesting_shares() added to calculated max_mana correctly
610
* dict key words adapted to steemd for get_manabar() and get_rc_manabar()
11+
* Voting mana fixed for 0 SP accounts
712
* comment_benefactor_reward adapted for snapshot
813
* Custom_json RC costs added to print_info
914

beem/account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def get_effective_vesting_shares(self):
448448
"""Returns the effective vesting shares"""
449449
vesting_shares = int(self["vesting_shares"])
450450
if "delegated_vesting_shares" in self and "received_vesting_shares" in self:
451-
vesting_shares -= int(self["delegated_vesting_shares"]) + int(self["received_vesting_shares"])
451+
vesting_shares = vesting_shares - int(self["delegated_vesting_shares"]) + int(self["received_vesting_shares"])
452452

453453
if self["next_vesting_withdrawal"].timestamp() > 0 and "vesting_withdraw_rate" in self and "to_withdraw" in self and "withdrawn" in self:
454454
vesting_shares -= min(int(self["vesting_withdraw_rate"]), int(self["to_withdraw"]) - int(self["withdrawn"]))

beem/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
2-
version = '0.20.4'
2+
version = '0.20.5'

beemapi/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
2-
version = '0.20.4'
2+
version = '0.20.5'

beembase/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
2-
version = '0.20.4'
2+
version = '0.20.5'

beemgraphenebase/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""THIS FILE IS GENERATED FROM beem SETUP.PY."""
2-
version = '0.20.4'
2+
version = '0.20.5'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
ascii = codecs.lookup('ascii')
1717
codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs'))
1818

19-
VERSION = '0.20.4'
19+
VERSION = '0.20.5'
2020

2121
tests_require = ['mock >= 2.0.0', 'pytest', 'pytest-mock', 'parameterized']
2222

0 commit comments

Comments
 (0)