diff --git a/mutiny-core/src/lib.rs b/mutiny-core/src/lib.rs index dd450d7f3..440fb32b9 100644 --- a/mutiny-core/src/lib.rs +++ b/mutiny-core/src/lib.rs @@ -1071,7 +1071,7 @@ impl MutinyWalletBuilder { // start the hermes background process // get profile key if we have it, we need this to decrypt private zaps - let profile_key = match &mw.nostr.primary_key { + let profile_key = match &mw.nostr.nostr_keys.read().await.signer { NostrSigner::Keys(keys) => Some(keys.clone()), #[cfg(target_arch = "wasm32")] NostrSigner::NIP07(_) => None,