Skip to content
This repository has been archived by the owner on May 22, 2022. It is now read-only.

Commit

Permalink
Updated Kerl syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbros committed Oct 11, 2018
1 parent 2865921 commit 7bc411c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion IotaKit.podspec
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |s|

s.swift_version = '4.2'
s.name = "IotaKit"
s.version = "0.7.2"
s.version = "0.7.3"
s.summary = "The IOTA Swift API Library"

s.description = <<-DESC
Expand Down
3 changes: 2 additions & 1 deletion Sources/IotaKit/Pow/Kerl.swift
Expand Up @@ -15,7 +15,8 @@ class Kerl: CurlSource {
fileprivate static let BYTE_HASH_LENGTH = BIT_HASH_LENGTH / 8

fileprivate static let RADIX: Int64 = 3
fileprivate static let MAX_TRIT_VALUE: Int64 = (RADIX - 1) / 2, MIN_TRIT_VALUE = -MAX_TRIT_VALUE
fileprivate static let MAX_TRIT_VALUE: Int64 = (RADIX - 1) / 2
fileprivate static let MIN_TRIT_VALUE: Int64 = -MAX_TRIT_VALUE
fileprivate var keccak: PASHA3!
fileprivate var byte_state: [UInt8] = []
fileprivate var trit_state: [Int] = []
Expand Down

0 comments on commit 7bc411c

Please sign in to comment.