Skip to content

Commit

Permalink
IOS-3289 Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tureck1y committed Apr 4, 2023
1 parent 3da0bc5 commit 4ecfba5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ final class CreateWalletCommand: Command {
self.privateKey = nil
}

/// Default initializer
/// Use this initializer to import a key from the seed. COS v6.10+.
/// - Parameter curve: Elliptic curve of the wallet. `Card.supportedCurves` contains all curves supported by the card
/// - Parameter seed: BIP39 seed to create wallet from. COS v6.10+.
/// - Parameter seed: BIP39 seed to create wallet from.
init(curve: EllipticCurve, seed: Data) throws {
self.curve = curve
self.privateKey = try BIP32().makeMasterKey(from: seed, curve: curve)
Expand Down
4 changes: 2 additions & 2 deletions TangemSdk/TangemSdk/Operations/Wallet/CreateWalletTask.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ public class CreateWalletTask: CardSessionRunnable {
self.seed = nil
}

/// Default initializer
/// Use this initializer to import a key from the seed. COS v6.10+.
/// - Parameter curve: Elliptic curve of the wallet. `Card.supportedCurves` contains all curves supported by the card
/// - Parameter seed: BIP39 seed to create wallet from. COS v6.10+.
/// - Parameter seed: BIP39 seed to create wallet from.
public init(curve: EllipticCurve, seed: Data) {
self.curve = curve
self.seed = seed
Expand Down

0 comments on commit 4ecfba5

Please sign in to comment.