Skip to content
Snippets Groups Projects
Commit 3a82fad6 authored by Holger Nahrstaedt's avatar Holger Nahrstaedt
Browse files

Bug fix release 0.19.18

parent 4ea7c93e
No related branches found
No related tags found
No related merge requests found
...@@ -132,6 +132,10 @@ Documentation is available at http://beem.readthedocs.io/en/latest/ ...@@ -132,6 +132,10 @@ Documentation is available at http://beem.readthedocs.io/en/latest/
Changelog Changelog
========= =========
0.19.18
-------
* bug fix release
0.19.17 0.19.17
------- -------
* GOLOS chain added * GOLOS chain added
......
...@@ -149,7 +149,8 @@ class TransactionBuilder(dict): ...@@ -149,7 +149,8 @@ class TransactionBuilder(dict):
try: try:
wif = self.steem.wallet.getPrivateKeyForPublicKey( wif = self.steem.wallet.getPrivateKeyForPublicKey(
authority[0]) authority[0])
r.append([wif, authority[1]]) if wif:
r.append([wif, authority[1]])
except ValueError: except ValueError:
pass pass
...@@ -175,8 +176,8 @@ class TransactionBuilder(dict): ...@@ -175,8 +176,8 @@ class TransactionBuilder(dict):
raise AssertionError("Could not access permission") raise AssertionError("Could not access permission")
required_treshold = account[permission]["weight_threshold"] required_treshold = account[permission]["weight_threshold"]
keys = fetchkeys(account, permission) keys = fetchkeys(account, permission)
if permission != "owner": # if permission != "owner":
keys.extend(fetchkeys(account, "owner")) # keys.extend(fetchkeys(account, "owner"))
for x in keys: for x in keys:
self.wifs.add(x[0]) self.wifs.add(x[0])
......
...@@ -252,8 +252,10 @@ class GrapheneRPC(object): ...@@ -252,8 +252,10 @@ class GrapheneRPC(object):
else: else:
ret_list.append(r["result"]) ret_list.append(r["result"])
return ret_list return ret_list
else: elif "result" in ret:
return ret["result"] return ret["result"]
else:
return ret
# End of Deprecated methods # End of Deprecated methods
#################################################################### ####################################################################
......
...@@ -25,6 +25,7 @@ known_prefixes = [ ...@@ -25,6 +25,7 @@ known_prefixes = [
"STX", "STX",
"GLX", "GLX",
"GLS", "GLS",
"EOS"
] ]
......
...@@ -19,7 +19,6 @@ log = logging.getLogger(__name__) ...@@ -19,7 +19,6 @@ log = logging.getLogger(__name__)
SECP256K1_MODULE = None SECP256K1_MODULE = None
SECP256K1_AVAILABLE = False SECP256K1_AVAILABLE = False
CRYPTOGRAPHY_AVAILABLE = False CRYPTOGRAPHY_AVAILABLE = False
SECP256K1_MODULE
GMPY2_MODULE = False GMPY2_MODULE = False
if not SECP256K1_MODULE: if not SECP256K1_MODULE:
try: try:
......
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