Skip to content

Commit

Permalink
Remove testnet2
Browse files Browse the repository at this point in the history
  • Loading branch information
DelevoXDG committed Sep 19, 2023
1 parent 219f637 commit c75843c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/Starknet/Data/StarknetChainId.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@ import Foundation
public enum StarknetChainId {
case mainnet
case testnet
case testnet2

public var feltValue: Felt {
switch self {
case .mainnet:
return Felt(fromHex: "0x534e5f4d41494e")!
case .testnet:
return Felt(fromHex: "0x534e5f474f45524c49")!
case .testnet2:
return Felt(fromHex: "0x534e5f474f45524c4932")!
}
}
}

0 comments on commit c75843c

Please sign in to comment.