-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TON address generate is wrong #4063
Comments
Hi @deeryoona, do you use CocoaPods or an SPM packet? We didn't update CocoaPods for some time, I'll schedule the update this week |
|
i use SPM packet |
i updated the latest version 4.1.12,the problem already exist @satoshiotomakan |
Hi @deeryoona, could you please update to 4.1.13? Now you should have all changes. |
this proble solved,thanks,satoshiotomakan |
version:4.1.10
switf exapple code is:
func testAddressFromPrivateKey() {
let data = Data(hexString: "63474e5fe9511f1526a50567ce142befc343e71a49b865ac3908f58667319cb8")
let privateKey = PrivateKey(data: data!)!
let publicKey = privateKey.getPublicKeyEd25519()
let address = AnyAddress(publicKey: publicKey, coin: .ton)
when i test this method,the result is EQBm--PFwDv1yCeS-QTJ-L8oiUpqo9IT1BwgVptlSq3ts90Q,
not UQBm--PFwDv1yCeS-QTJ-L8oiUpqo9IT1BwgVptlSq3ts4DV
The text was updated successfully, but these errors were encountered: