signed blocks related crashes fixed hopefully

master
Kevin Froman 2018-04-26 20:28:39 -05:00
parent 8a9d1326fb
commit ac7bb63225
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ class OnionrCommunicate:
blockContent = self._core.getData(i) blockContent = self._core.getData(i)
try: try:
#blockMetadata = json.loads(self._core.getData(i)).split('}')[0] + '}' #blockMetadata = json.loads(self._core.getData(i)).split('}')[0] + '}'
blockMetadata = json.loads(self._core.getData(i).split(b'}')[0] + b'}') blockMetadata = json.loads(self._core.getData(i).split(b'}')[0] + '}')
try: try:
blockMetadata['sig'] blockMetadata['sig']
blockMetadata['id'] blockMetadata['id']