Skip to content

Commit

Permalink
Update NodeUtils.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
metalurgical committed May 21, 2024
1 parent 24e6166 commit d9bbe10
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/TorusUtils/Helpers/NodeUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ internal class NodeUtils {
throw TorusUtilError.decodingFailed("cipherData is not utf8")
}
let decrypted = try MetadataUtils.decryptNodeData(eciesData: latestKey.shareMetadata, ciphertextHex: cipherTextHex, privKey: sessionAuthKeySerialized)
let share1 = BigInt(decrypted, radix: 16)?.magnitude.serialize().addLeading0sForLength64()
shares.append(decrypted)
} else {
nodeIndexes.append(nil)
Expand Down

0 comments on commit d9bbe10

Please sign in to comment.