Skip to content

Commit

Permalink
Merge branch 'feat/159-3-verify-types' into feat/159-4-basic-types
Browse files Browse the repository at this point in the history
  • Loading branch information
DelevoXDG committed Apr 8, 2024
2 parents 28b288e + 4c0b593 commit b1642be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Starknet/Crypto/StarknetHashMethod.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public enum StarknetHashMethod {
case pedersen
case poseidon

func hash(values: [Felt]) -> Felt {
public func hash(values: [Felt]) -> Felt {
switch self {
case .pedersen:
StarknetCurve.pedersenOn(values)
Expand All @@ -13,7 +13,7 @@ public enum StarknetHashMethod {
}
}

func hash(first: Felt, second: Felt) -> Felt {
public func hash(first: Felt, second: Felt) -> Felt {
switch self {
case .pedersen:
StarknetCurve.pedersen(first: first, second: second)
Expand Down

0 comments on commit b1642be

Please sign in to comment.