diff --git a/Trust/Redeem/CreateRedeem.swift b/Trust/Redeem/CreateRedeem.swift index 2f91def48..b35d4ddfb 100644 --- a/Trust/Redeem/CreateRedeem.swift +++ b/Trust/Redeem/CreateRedeem.swift @@ -8,6 +8,8 @@ import TrustKeystore class CreateRedeem { + //TODO make for decimal + private let keyStore = try! EtherKeystore() func generateRedeem(ticketIndices: [UInt16], account: Account) -> [Data] { @@ -31,11 +33,6 @@ class CreateRedeem { return messageAndSignature } - - //optimised for decimal - func parseToQR(_ data: Data) -> BigInt { - return BigInt.init(data.hexString, radix: 16)! - } func generateTimeStamp() -> [UInt8] { let time = Date().timeIntervalSince1970.binade