Skip to content

Commit

Permalink
feat: update dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
metalurgical committed Jan 22, 2024
1 parent 4ff2978 commit bb1af19
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"package": "curvelib.swift",
"repositoryURL": "https://github.com/tkey/curvelib.swift",
"state": {
"branch": "refactor",
"revision": "3477abff071170d005f05397c6049478fa6ecaf3",
"branch": "extension",
"revision": "d5acae05bfd832393524ec8e0bf8820a745e5331",
"version": null
}
},
Expand Down Expand Up @@ -131,8 +131,8 @@
"package": "tss-client-swift",
"repositoryURL": "https://github.com/torusresearch/tss-client-swift.git",
"state": {
"branch": "inline_replace_secp256k1",
"revision": "196e39fb6853ea88849b25130ef0de4247bb89a1",
"branch": "extenstion",
"revision": "2f0a2357dfa882d8a0e03580ebe22534f5d2c527",
"version": null
}
},
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/argentlabs/web3.swift", from:"1.6.0"),
.package(url: "https://github.com/torusresearch/tss-client-swift.git", .branch("inline_replace_secp256k1")),
.package(url: "https://github.com/torusresearch/tss-client-swift.git", .branch("extenstion")),
],
targets: [
.target(
Expand Down
4 changes: 2 additions & 2 deletions Sources/Web3SwiftMpcProvider/EthereumTssAccount.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import BigInt
import Foundation
import secp256k1
import curvelib_swift
import tss_client_swift
import web3

Expand Down Expand Up @@ -223,7 +223,7 @@ public final class EthereumTssAccount: EthereumAccountProtocol {
}

// generate a random nonce for sessionID
let randomKey = try CurveSecp256k1.generatePrivateKey()
let randomKey = try SecretKey().serialize()
guard let randomKeyBigUint = BigUInt(hex: randomKey) else {
throw CustomSigningError.generalError(error: "Could not generate random key for sessionID nonce")
}
Expand Down

0 comments on commit bb1af19

Please sign in to comment.