Passing ciphertext(s) as positional.

pull/2712/head
jMyles 2019-09-18 11:59:48 -07:00
parent 0cdcc523b7
commit 7ac8374c07
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ for counter, plaintext in enumerate(finnegans_wake):
# Now Bob can retrieve the original message.
alice_pubkey_restored_from_ancient_scroll = UmbralPublicKey.from_bytes(alices_pubkey_bytes_saved_for_posterity)
delivered_cleartexts = BOB.retrieve(message_kit=single_passage_ciphertext,
delivered_cleartexts = BOB.retrieve(single_passage_ciphertext,
enrico=enrico_as_understood_by_bob,
alice_verifying_key=alice_pubkey_restored_from_ancient_scroll,
label=label)

View File

@ -486,7 +486,7 @@ def test_collect_rewards_integration(click_runner,
ciphertext, signature = enrico.encrypt_message(message=random_data)
# Decrypt
cleartexts = blockchain_bob.retrieve(message_kit=ciphertext,
cleartexts = blockchain_bob.retrieve(ciphertext,
enrico=enrico,
alice_verifying_key=verifying_key,
label=random_policy_label)