Skip to content

Commit

Permalink
Update @nimiq/core to rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed Nov 13, 2024
1 parent 7f86375 commit d39be8a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/request/sign-staking/SignStaking.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class SignStaking {

const powPrivateKey = key.derivePrivateKey(request.keyPath);

const privateKey = Albatross.PrivateKey.unserialize(powPrivateKey.serialize());
const privateKey = Albatross.PrivateKey.deserialize(powPrivateKey.serialize());
const keyPair = Albatross.KeyPair.derive(privateKey);

const results = request.transactions.map(transaction => {
Expand Down
2 changes: 1 addition & 1 deletion src/request/sign-transaction/SignTransaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class SignTransaction {

const powPrivateKey = key.derivePrivateKey(request.keyPath);

const privateKey = Albatross.PrivateKey.unserialize(powPrivateKey.serialize());
const privateKey = Albatross.PrivateKey.deserialize(powPrivateKey.serialize());
const keyPair = Albatross.KeyPair.derive(privateKey);

/** @type {Albatross.Transaction} */
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,9 @@
"@jridgewell/sourcemap-codec" "^1.4.14"

"@nimiq/albatross-wasm@npm:@nimiq/core@next":
version "2.0.0-next.rc.0"
resolved "https://registry.yarnpkg.com/@nimiq/core/-/core-2.0.0-next.rc.0.tgz#402dbbf4bf40a815e4c2a323df7ebe253be18063"
integrity sha512-mExuJIO9VIuH/MO/Od0o357hcUQ5hxdRzReTieGP1XO7tD/X+saHDsCWfCM+SowWyrbqzOBtEDzWmRpAktQzzg==
version "2.0.0-next.rc.3"
resolved "https://registry.yarnpkg.com/@nimiq/core/-/core-2.0.0-next.rc.3.tgz#d61b8ad7494b722ac54c7de7b3ca13281ecc7fc2"
integrity sha512-p0dNr+8yyDXE192b8p3m06q0QizemjNbHrbIuGS77+Bfbkm6zHkk9IB3603IhvpNJVHPOmOGniKgkioGRzwNHw==
dependencies:
comlink "^4.4.1"
websocket "^1.0.34"
Expand Down

0 comments on commit d39be8a

Please sign in to comment.