Skip to content

Commit

Permalink
removed non-needed errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ypopovych committed May 13, 2021
1 parent 5d8f97b commit 53dab51
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
7 changes: 0 additions & 7 deletions Sources/Ed25519/Ed25519Error.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,9 @@
import Foundation

public enum Ed25519Error: Error, Equatable, Hashable {
case randomGeneratorError(code: Int)
case badSeedLength(length: Int, expected: Int)
case badKeyPairLength(length: Int, expected: Int)
case badChainCodeLength(length: Int, expected: Int)
case badPublicKeyLength(length: Int, expected: Int)
case badPrivateKeyLength(length: Int, expected: Int)
case badSignatureLength(length: Int, expected: Int)
// case badVrfSignatureLength(length: Int, expected: Int)
// case badVrfOutputLength(length: Int, expected: Int)
// case badVrfProofLength(length: Int, expected: Int)
// case badVrfThresholdLength(length: Int, expected: Int)
// case vrfError(code: UInt32)
}
3 changes: 0 additions & 3 deletions Sources/Sr25519/Sr25519Error.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@
import Foundation

public enum Sr25519Error: Error, Equatable, Hashable {
case randomGeneratorError(code: Int)
case badSeedLength(length: Int, expected: Int)
case badKeyPairLength(length: Int, expected: Int)
case badChainCodeLength(length: Int, expected: Int)
case badPublicKeyLength(length: Int, expected: Int)
case badSignatureLength(length: Int, expected: Int)
case badVrfSignatureLength(length: Int, expected: Int)
case badVrfOutputLength(length: Int, expected: Int)
case badVrfProofLength(length: Int, expected: Int)
case badVrfThresholdLength(length: Int, expected: Int)
case vrfError(code: UInt32)
}
2 changes: 1 addition & 1 deletion Sr25519.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Sr25519'
s.version = '0.1.1'
s.version = '0.1.2'
s.summary = 'Swift wrapper for sr25519-donna C library'

s.description = <<-DESC
Expand Down

0 comments on commit 53dab51

Please sign in to comment.