Skip to content

Commit

Permalink
Update SetNonceData.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
metalurgical committed May 20, 2024
1 parent e40c769 commit f6e04ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal struct SetNonceData: Codable {
try container.encodeIfPresent(self.operation, forKey: .operation)
try container.encodeIfPresent(self.data, forKey: .data)
try container.encodeIfPresent(self.timestamp, forKey: .timestamp)
// There is a bug in the server that expects seed to be empty and not optional, when it checks signatures. It is optional in the interface as such.
// There is a bug in the server that expects seed to be empty and not optional, when it checks signatures. It is optional in the interface though.
if (seed == nil) {
try container.encode("", forKey: .seed)
} else {
Expand Down

0 comments on commit f6e04ee

Please sign in to comment.