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,
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user