From f70a0ea58f21324f96deb5df6f8a4b8cc5ad99da Mon Sep 17 00:00:00 2001 From: Keefer Taylor Date: Tue, 26 Mar 2019 00:51:33 +0000 Subject: [PATCH] Use enum Prevent class from being instantiated. --- Base58Swift/Base58.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Base58Swift/Base58.swift b/Base58Swift/Base58.swift index 8ad0764..98d3b3a 100644 --- a/Base58Swift/Base58.swift +++ b/Base58Swift/Base58.swift @@ -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