From d39be8a4d35a921436cee74dd81af843f8fff9f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren?= Date: Wed, 13 Nov 2024 17:08:18 -0600 Subject: [PATCH] Update @nimiq/core to rc.3 --- src/request/sign-staking/SignStaking.js | 2 +- src/request/sign-transaction/SignTransaction.js | 2 +- yarn.lock | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/request/sign-staking/SignStaking.js b/src/request/sign-staking/SignStaking.js index 7a3f7e4eb..65362d04f 100644 --- a/src/request/sign-staking/SignStaking.js +++ b/src/request/sign-staking/SignStaking.js @@ -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 => { diff --git a/src/request/sign-transaction/SignTransaction.js b/src/request/sign-transaction/SignTransaction.js index 0beddc8b1..040a7d9dc 100644 --- a/src/request/sign-transaction/SignTransaction.js +++ b/src/request/sign-transaction/SignTransaction.js @@ -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} */ diff --git a/yarn.lock b/yarn.lock index ac6f62189..eba963afd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"