fixed verification

This commit is contained in:
Zachary Atkins 2021-04-11 07:36:15 -05:00
parent 39bec69e63
commit e28e9c3880

View File

@ -207,8 +207,8 @@ class _HomePageState extends State<HomePage> {
combinedHash: transaction.hash, combinedHash: transaction.hash,
encodedGPSLocation: "{'none':true}", encodedGPSLocation: "{'none':true}",
partnerPublicKey: transaction.pubKey, partnerPublicKey: transaction.pubKey,
validationSignature: await OpenPGP.sign( validationSignature: await OpenPGP.encrypt(
transaction.hash, '', KeyFileManager.keyPair.privateKey, ''), transaction.hash, KeyFileManager.keyPair.privateKey),
); );
var response = await postEncounter(encounter); var response = await postEncounter(encounter);
print(response); print(response);