Skip to content
Snippets Groups Projects
Commit 88a5af2b authored by pharesim's avatar pharesim
Browse files

more symbol fixes

parent 922b2b3f
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ author = 'pharesim@protonmail.com' ...@@ -68,7 +68,7 @@ author = 'pharesim@protonmail.com'
# The short X.Y version. # The short X.Y version.
version = '0.9' version = '0.9'
# The full version, including alpha/beta/rc tags. # 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 # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from .hive import Hive from .hive import Hive
__version__ = '0.9.15' __version__ = '0.9.16'
...@@ -79,18 +79,18 @@ class Account(dict): ...@@ -79,18 +79,18 @@ class Account(dict):
def get_balances(self): def get_balances(self):
available = { available = {
'HIVE': Amount(self['balance']).amount, 'HIVE': Amount(self['balance']).amount,
'HBD': Amount(self['hbd_balance']).amount, 'HBD': Amount(self['sbd_balance']).amount,
'VESTS': Amount(self['vesting_shares']).amount, 'VESTS': Amount(self['vesting_shares']).amount,
} }
savings = { savings = {
'HIVE': Amount(self['savings_balance']).amount, 'HIVE': Amount(self['savings_balance']).amount,
'HBD': Amount(self['savings_hbd_balance']).amount, 'HBD': Amount(self['savings_sbd_balance']).amount,
} }
rewards = { rewards = {
'HIVE': Amount(self['reward_hive_balance']).amount, 'HIVE': Amount(self['reward_steem_balance']).amount,
'HBD': Amount(self['reward_hbd_balance']).amount, 'HBD': Amount(self['reward_sbd_balance']).amount,
'VESTS': Amount(self['reward_vesting_balance']).amount, 'VESTS': Amount(self['reward_vesting_balance']).amount,
} }
......
...@@ -912,8 +912,8 @@ class Commit(object): ...@@ -912,8 +912,8 @@ class Commit(object):
float(first(x.split(' '))) float(first(x.split(' ')))
for x in [reward_hbd, reward_hive, reward_vests]): for x in [reward_hbd, reward_hive, reward_vests]):
a = Account(account) a = Account(account)
reward_hive = a['reward_hive_balance'] reward_hive = a['reward_steem_balance']
reward_hbd = a['reward_hbd_balance'] reward_hbd = a['reward_sbd_balance']
reward_vests = a['reward_vesting_balance'] reward_vests = a['reward_vesting_balance']
op = operations.ClaimRewardBalance( op = operations.ClaimRewardBalance(
......
...@@ -14,7 +14,7 @@ from setuptools.command.test import test as TestCommand ...@@ -14,7 +14,7 @@ from setuptools.command.test import test as TestCommand
# Package meta-data. # Package meta-data.
NAME = 'hivepy' NAME = 'hivepy'
VERSION = '0.9.15' VERSION = '0.9.16'
DESCRIPTION = 'A python hive library.' DESCRIPTION = 'A python hive library.'
URL = 'https://github.com/pharesim/hive-python' URL = 'https://github.com/pharesim/hive-python'
EMAIL = 'pharesim@protonmail.com' EMAIL = 'pharesim@protonmail.com'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment