-
Notifications
You must be signed in to change notification settings - Fork 11
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
Thread 90: Swift runtime failure: arithmetic overflow #427
Comments
@ramesh-aureus Thanks for your patience. Seems though bounds will need to be established in |
Thanks for your response @RickyLB . Is there anything i need to do my end? |
@RickyLB its working pretty fine on IOS simulator though.. im only having problems on the real devices. |
Any update on this @RickyLB ?? |
Hi @ramesh-aureus, can you check the value of |
my code:
log: xcode descriptions: nanos UInt64 6183871904 |
Description
While performing any kind of transaction , the ios screen freezes and the xcode takes me to Timestamp file , to this code:
and shows error as :
Thread 90: Swift runtime failure: arithmetic overflow
my implementation code (creating Hedera wallet):
let transactionResponse = try await AccountCreateTransaction()
.key(.single(newPublicKey)) // Set the public key for the account
.initialBalance(Hbar.fromTinybars(0)) // Set the initial balance to 0 HBAR
.execute(client)
Im getting the same error on token transferring, associating , and any other transaction related tasks.
Steps to reproduce
Integrate Hedera-swift-sdk
code on AppDelgate:
let transactionResponse = try await AccountCreateTransaction()
.key(.single(newPublicKey)) // Set the public key for the account
.initialBalance(Hbar.fromTinybars(0)) // Set the initial balance to 0 HBAR
.execute(client)
Additional context
No response
Hedera network
mainnet
Version
latest
Operating system
macOS
The text was updated successfully, but these errors were encountered: