From 91964cc9b27ab242619ab476c46564631fe55c87 Mon Sep 17 00:00:00 2001
From: pharesim <pharesim@protonmail.com>
Date: Thu, 16 Apr 2020 17:07:23 +0200
Subject: [PATCH] symbols

---
 hive/commit.py         | 2 +-
 hivebase/operations.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hive/commit.py b/hive/commit.py
index 34241e9..251fca1 100644
--- a/hive/commit.py
+++ b/hive/commit.py
@@ -1032,7 +1032,7 @@ class Commit(object):
                 [
                     ["account_creation_fee": x]
                     ["maximum_block_size": x]
-                    ["hbd_interest_rate": x]
+                    ["sbd_interest_rate": x]
                 ]
 
         """
diff --git a/hivebase/operations.py b/hivebase/operations.py
index ed23d6a..0d2eaf2 100644
--- a/hivebase/operations.py
+++ b/hivebase/operations.py
@@ -713,13 +713,13 @@ class WitnessSetProperties(GrapheneObject):
                     is_hex = re.match(r'^[0-9a-fA-F]+$', k[1] or '') is not None
                 else:
                     is_hex = False
-                if isinstance(k[1], int) and k[0] in ["account_subsidy_budget", "account_subsidy_decay", "maximum_block_size", "hbd_interest_rate"]:
+                if isinstance(k[1], int) and k[0] in ["account_subsidy_budget", "account_subsidy_decay", "maximum_block_size", "sbd_interest_rate"]:
                     props[k[0]] = (hexlify(Uint32(k[1]).__bytes__())).decode()
                 elif not isinstance(k[1], str) and k[0] in ["account_creation_fee"]:
                     props[k[0]] = (hexlify(Amount(k[1]).__bytes__())).decode()
                 elif not is_hex and isinstance(k[1], str) and k[0] in ["account_creation_fee"]:
                     props[k[0]] = (hexlify(Amount(k[1]).__bytes__())).decode()
-                elif not isinstance(k[1], str) and k[0] in ["hbd_exchange_rate"]:
+                elif not isinstance(k[1], str) and k[0] in ["sbd_exchange_rate"]:
                     props[k[0]] = (hexlify(ExchangeRate(k[1]).__bytes__())).decode()
                 elif not is_hex and k[0] in ["url"]:
                     props[k[0]] = (hexlify(String(k[1]).__bytes__())).decode()
-- 
GitLab