Fixes generating new key paris for user

and the broadcast test
This commit is contained in:
Mouse Reeve
2020-11-30 19:33:50 -08:00
parent eb6206252d
commit fee5846aa8
5 changed files with 15 additions and 15 deletions

View File

@ -65,7 +65,7 @@ def sign_and_send(sender, data, destination):
''' crpyto whatever and http junk '''
now = http_date()
if not sender.private_key:
if not sender.key_pair.private_key:
# this shouldn't happen. it would be bad if it happened.
raise ValueError('No private key found for sender')