Updating hex method name

pull/42/head
Oguzhan Gungor 7 years ago
parent 5fa191366a
commit fcd668b347
  1. 2
      Trust/Redeem/Helpers/SignatureHelper.swift

@ -15,7 +15,7 @@ class SignatureHelper {
class func signatureAsHex(for message: String, account: Account) -> String? {
let keystore = try! EtherKeystore()
let signature = keystore.signMessageData(message.data(using: String.Encoding.utf8), for: account)
let signatureHex = try? signature.dematerialize().toHex(options: .upperCase)
let signatureHex = try? signature.dematerialize().hex(options: .upperCase)
guard let data = signatureHex else {
return nil
}

Loading…
Cancel
Save