fixed addToBlockDB and added selfInsert flag, addmessage command
This commit is contained in:
parent
da6729adc9
commit
963fab821b
3 changed files with 10 additions and 4 deletions
|
|
@ -114,7 +114,8 @@ class Onionr:
|
|||
messageToAdd = input('Broadcast message to network: ')
|
||||
if len(messageToAdd) >= 1:
|
||||
break
|
||||
self.onionrCore.setData(messageToAdd)
|
||||
addedHash = self.onionrCore.setData(messageToAdd)
|
||||
self.onionrCore.addToBlockDB(addedHash, selfInsert=True)
|
||||
elif command == 'stats':
|
||||
self.showStats()
|
||||
elif command == 'help' or command == '--help':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue