diff --git a/libs/src/services/wormhole/index.js b/libs/src/services/wormhole/index.js index 93acee5ff82..e0759478c8e 100644 --- a/libs/src/services/wormhole/index.js +++ b/libs/src/services/wormhole/index.js @@ -361,8 +361,8 @@ class Wormhole { nonce, deadline ) - const myPrivateKey = this.hedgehog.wallet._privKey - const signedDigest = sign(digest, myPrivateKey) + const { privateKey } = this.hedgehog.getWallet() + const signedDigest = sign(digest, privateKey) return { chainId, deadline, diff --git a/service-commands/src/commands/seed/SeedSession.js b/service-commands/src/commands/seed/SeedSession.js index 38bccc8a71f..adc91b39205 100644 --- a/service-commands/src/commands/seed/SeedSession.js +++ b/service-commands/src/commands/seed/SeedSession.js @@ -113,7 +113,7 @@ class SeedSession { }) this.cache.addWalletDetails({ entropy: hedgehogEntropyKey, - privKey: this.libs.hedgehog.wallet._privKey.toString('hex') + privKey: this.libs.hedgehog.getWallet().privateKey.toString('hex') }) this.cache.setActiveUser(userAlias) console.log(