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,
encodedGPSLocation: "{'none':true}",
partnerPublicKey: transaction.pubKey,
validationSignature: await OpenPGP.sign(
transaction.hash, '', KeyFileManager.keyPair.privateKey, ''),
validationSignature: await OpenPGP.encrypt(
transaction.hash, KeyFileManager.keyPair.privateKey),
);
var response = await postEncounter(encounter);
print(response);