work on runtime tests and onboarding

This commit is contained in:
Kevin Froman 2019-10-07 00:51:30 -05:00
parent dbb306d7ee
commit c22f084315
6 changed files with 259 additions and 6 deletions

View file

@ -45,9 +45,9 @@ def insert_block(data: Union[str, bytes], header: str ='txt',
with open(filepaths.data_nonce_file, 'a') as nonceFile:
nonceFile.write(dataNonce + '\n')
if type(data) is bytes:
data = data.decode()
data = str(data)
#if type(data) is bytes:
# data = data.decode()
#data = str(data)
plaintext = data
plaintextMeta = {}
plaintextPeer = asymPeer