do not use blockapi for addmessage

This commit is contained in:
Kevin Froman 2018-06-21 02:29:51 -05:00
parent 9abb2f4f85
commit 997e27b532

View File

@ -426,7 +426,8 @@ class Onionr:
except KeyboardInterrupt:
return
addedHash = Block(type = 'txt', content = messageToAdd).save()
#addedHash = Block(type = 'txt', content = messageToAdd).save()
addedHash = self.onionrCore.insertBlock(messageToAdd)
if addedHash != None:
logger.info("Message inserted as as block %s" % addedHash)
else: