do not use blockapi for addmessage
This commit is contained in:
parent
9abb2f4f85
commit
997e27b532
@ -426,7 +426,8 @@ class Onionr:
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
return
|
return
|
||||||
|
|
||||||
addedHash = Block(type = 'txt', content = messageToAdd).save()
|
#addedHash = Block(type = 'txt', content = messageToAdd).save()
|
||||||
|
addedHash = self.onionrCore.insertBlock(messageToAdd)
|
||||||
if addedHash != None:
|
if addedHash != None:
|
||||||
logger.info("Message inserted as as block %s" % addedHash)
|
logger.info("Message inserted as as block %s" % addedHash)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user