diff --git a/docs/conf.py b/docs/conf.py index 1abbf8fc3788e3221e15f94eba98dfb772916668..0463f38ad4b24c5605a62cd3a164ccde636ed90f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -68,7 +68,7 @@ author = 'pharesim@protonmail.com' # The short X.Y version. version = '0.9' # The full version, including alpha/beta/rc tags. -release = '0.9.15' +release = '0.9.16' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/hive/__init__.py b/hive/__init__.py index e3834e853c05cee8eb5669c2142b58437639e361..6d72900a0fd0c8dd56c2e27bcad2d0daf1d1bb9b 100644 --- a/hive/__init__.py +++ b/hive/__init__.py @@ -1,4 +1,4 @@ # -*- coding: utf-8 -*- from .hive import Hive -__version__ = '0.9.15' +__version__ = '0.9.16' diff --git a/hive/account.py b/hive/account.py index 5ab07146d31e9e059e5ebc16b33ff422f4ec4e8e..7e35529fefbf4d130f5be28c5de6c4231a74a0db 100644 --- a/hive/account.py +++ b/hive/account.py @@ -79,18 +79,18 @@ class Account(dict): def get_balances(self): available = { 'HIVE': Amount(self['balance']).amount, - 'HBD': Amount(self['hbd_balance']).amount, + 'HBD': Amount(self['sbd_balance']).amount, 'VESTS': Amount(self['vesting_shares']).amount, } savings = { 'HIVE': Amount(self['savings_balance']).amount, - 'HBD': Amount(self['savings_hbd_balance']).amount, + 'HBD': Amount(self['savings_sbd_balance']).amount, } rewards = { - 'HIVE': Amount(self['reward_hive_balance']).amount, - 'HBD': Amount(self['reward_hbd_balance']).amount, + 'HIVE': Amount(self['reward_steem_balance']).amount, + 'HBD': Amount(self['reward_sbd_balance']).amount, 'VESTS': Amount(self['reward_vesting_balance']).amount, } diff --git a/hive/commit.py b/hive/commit.py index 223fa6bf6255d69832402c37bd8b95e5a0cc735a..f12579789a0a10f0a12d081fe89b373594b2084c 100644 --- a/hive/commit.py +++ b/hive/commit.py @@ -912,8 +912,8 @@ class Commit(object): float(first(x.split(' '))) for x in [reward_hbd, reward_hive, reward_vests]): a = Account(account) - reward_hive = a['reward_hive_balance'] - reward_hbd = a['reward_hbd_balance'] + reward_hive = a['reward_steem_balance'] + reward_hbd = a['reward_sbd_balance'] reward_vests = a['reward_vesting_balance'] op = operations.ClaimRewardBalance( diff --git a/setup.py b/setup.py index 0dad7b8940fb3c9611dc235252b8a237767615bb..037d7ae4ace38f5d6e35319deaaac26301304197 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools.command.test import test as TestCommand # Package meta-data. NAME = 'hivepy' -VERSION = '0.9.15' +VERSION = '0.9.16' DESCRIPTION = 'A python hive library.' URL = 'https://github.com/pharesim/hive-python' EMAIL = 'pharesim@protonmail.com'