@vleap/warps-adapter-fastset 0.1.0-alpha.31 → 0.1.0-alpha.32
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2898,7 +2898,7 @@ var WarpFastsetWallet = class {
|
|
|
2898
2898
|
return { address, privateKey: uint8ArrayToHex(privateKey), mnemonic };
|
|
2899
2899
|
}
|
|
2900
2900
|
generate() {
|
|
2901
|
-
const privateKey = ed25519_exports.utils.
|
|
2901
|
+
const privateKey = ed25519_exports.utils.randomSecretKey();
|
|
2902
2902
|
const publicKey = ed25519_exports.getPublicKey(privateKey);
|
|
2903
2903
|
const address = FastsetClient.encodeBech32Address(publicKey);
|
|
2904
2904
|
return { address, privateKey: uint8ArrayToHex(privateKey), mnemonic: null };
|