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
1 changed files with 2 additions and 1 deletions

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: