mirror of
https://github.com/hackku21/loc-chain-app.git
synced 2024-10-27 20:34:05 +00:00
fixed verification
This commit is contained in:
parent
39bec69e63
commit
e28e9c3880
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user