Skip to content

Commit

Permalink
Fix an error in applink dapp.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-dfinity committed Nov 29, 2023
1 parent 4062080 commit 0802e32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var url = window.location.href;
var publicKeyIndex = url.indexOf("sessionkey=");
if (publicKeyIndex !== -1) {
// Parse the public key.
var publicKeyString = url.substring(publicKeyString + "sessionkey=".length);
var publicKeyString = url.substring(publicKeyIndex + "sessionkey=".length);
appPublicKey = Ed25519PublicKey.fromDer(fromHexString(publicKeyString));
}

Expand Down

0 comments on commit 0802e32

Please sign in to comment.