hd-wallet-wasm 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hd-wallet.js +2 -2
- package/dist/hd-wallet.wasm +0 -0
- package/package.json +1 -1
- package/src/index.mjs +1 -1
package/dist/hd-wallet.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/index.mjs
CHANGED
|
@@ -1117,7 +1117,7 @@ function createModule(wasm) {
|
|
|
1117
1117
|
const seedPtr = allocAndCopy(wasm, seed);
|
|
1118
1118
|
const pubPtr = wasm._hd_alloc(32);
|
|
1119
1119
|
try {
|
|
1120
|
-
const result = wasm._hd_ed25519_pubkey_from_seed(seedPtr, pubPtr);
|
|
1120
|
+
const result = wasm._hd_ed25519_pubkey_from_seed(seedPtr, pubPtr, 32);
|
|
1121
1121
|
if (result < 0) throw new HDWalletError(result);
|
|
1122
1122
|
return readBytes(wasm, pubPtr, 32);
|
|
1123
1123
|
} finally {
|