Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
n9lsjr committed Dec 16, 2024
1 parent 53f7382 commit 457f86c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Kryptokrona Developers <[email protected]>",
"email": "[email protected]",
"productName": "Hugin Messenger",
"version": "0.7.2",
"version": "0.7.3",
"private": true,
"description": "A messenger app built on top of the kryptokrona blockchain",
"main": "src/backend/electron.cjs",
Expand Down
2 changes: 1 addition & 1 deletion src/backend/swarm.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ const check_data_message = async (data, connection, topic) => {
//Check admin signature
const admin = verify_signature(connection.remotePublicKey, Buffer.from(data.signature, 'hex'), Buffer.from(active.key.slice(-64), 'hex'))

const verified = verifySignature(connection.remotePublicKey.toString('hex', data.address, data.idSig))
const verified = verifySignature(connection.remotePublicKey.toString('hex'), data.address, data.idSig)

if (!verified) {
return "Ban"
Expand Down

0 comments on commit 457f86c

Please sign in to comment.