We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 144b31e commit ce6261fCopy full SHA for ce6261f
Sources/Nats/NatsConnection.swift
@@ -357,7 +357,8 @@ class ConnectionHandler: ChannelInboundHandler {
357
guard let nkeyContent = String(data: nkeyData, encoding: .utf8) else {
358
throw NatsConfigError("failed to read NKEY file")
359
}
360
- let keypair = try KeyPair(seed: nkeyContent.trimmingCharacters(in: .whitespacesAndNewlines))
+ let keypair = try KeyPair(seed: nkeyContent
361
+ .trimmingCharacters(in: .whitespacesAndNewlines))
362
guard let nonce = self.serverInfo?.nonce else {
363
throw NatsConfigError("missing nonce")
364
0 commit comments