From 88a5af2b86653193f0a0eae89394857983e02e57 Mon Sep 17 00:00:00 2001 From: pharesim <pharesim@protonmail.com> Date: Sat, 21 Mar 2020 00:18:05 +0100 Subject: [PATCH] more symbol fixes --- docs/conf.py | 2 +- hive/__init__.py | 2 +- hive/account.py | 8 ++++---- hive/commit.py | 4 ++-- setup.py | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 1abbf8f..0463f38 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 e3834e8..6d72900 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 5ab0714..7e35529 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 223fa6b..f125797 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 0dad7b8..037d7ae 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' -- GitLab