Skip to content
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

wallet.SendWaitTransaction deploys the contract instead of sending the transaction #143

Closed
SsNiPeR1 opened this issue Nov 5, 2023 · 1 comment

Comments

@SsNiPeR1
Copy link

SsNiPeR1 commented Nov 5, 2023

When I try to send a transaction using wallet.SendWaitTransaction, the contract gets deployed. When I do it second time, it tries to re-deploy the contract, which results in "Something happened but we don't understand what.", but no coins get actually sent for some reason.

You can see it here: https://testnet.tonviewer.com/kQDdo8y5BSM2tsDB29FxRsQ1TC5-523KZ5xgbpPjdDwHIhgE

@xssnick
Copy link
Owner

xssnick commented Nov 5, 2023

Hi, it looks like not enough coins on balance to send, and mode 3 is used (default). Try to increase balance on the wallet before sending, or use mode 130 (128+2) to send all remaining balance.

@xssnick xssnick closed this as completed Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants