Merge branch 'process-blocks' of github.com:beardog108/onionr into process-blocks

This commit is contained in:
Kevin Froman 2018-01-29 01:05:24 -06:00
commit 40643358fc
3 changed files with 8 additions and 7 deletions

View file

@ -123,7 +123,7 @@ class Onionr:
logger.info(i)
elif command in ('addmsg', 'addmessage'):
while True:
messageToAdd = input('Broadcast message to network: ')
messageToAdd = logger.readline('Broadcast message to network: ')
if len(messageToAdd) >= 1:
break
addedHash = self.onionrCore.setData(messageToAdd)
@ -173,4 +173,4 @@ class Onionr:
def showHelp(self):
'''Show help for Onionr'''
return
Onionr()
Onionr()