Skip to content

Commit

Permalink
Use enum
Browse files Browse the repository at this point in the history
Prevent class from being instantiated.
  • Loading branch information
keefertaylor authored Mar 26, 2019
1 parent c527360 commit f70a0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Base58Swift/Base58.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import CommonCrypto
import Foundation

/// A static utility class which provides Base58 encoding and decoding functionality.
public class Base58 {
public enum Base58 {
/// Length of checksum appended to Base58Check encoded strings.
private static let checksumLength = 4

Expand Down

0 comments on commit f70a0ea

Please sign in to comment.