bug: Pass pubkey to initiateRelay on reconnect
Pass the pubkey if we already know it.
This commit is contained in:
parent
8467856975
commit
cb4f1ee598
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ export function initiateDappRelay(
|
||||||
const cleanup = initiateRelay(
|
const cleanup = initiateRelay(
|
||||||
wrappedCallback,
|
wrappedCallback,
|
||||||
dappPrivateKey,
|
dappPrivateKey,
|
||||||
new Uint8Array(33),
|
walletPublicKeyNostr ?? new Uint8Array(33),
|
||||||
{
|
{
|
||||||
explicitRelayUrls: relayUrls,
|
explicitRelayUrls: relayUrls,
|
||||||
reconnectInterval: options.reconnectInterval,
|
reconnectInterval: options.reconnectInterval,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue