mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-15 16:50:16 +01:00
nip46: fix using nil relay pointer when connection fails.
This commit is contained in:
@@ -231,8 +231,8 @@ func (bunker *BunkerClient) RPC(ctx context.Context, method string, params []str
|
|||||||
case hasWorked <- struct{}{}:
|
case hasWorked <- struct{}{}:
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
relay.Publish(ctx, evt)
|
||||||
}
|
}
|
||||||
relay.Publish(ctx, evt)
|
|
||||||
}(url)
|
}(url)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user