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

Use SendDefaultMode instead of 0 in SendParameters #1767

Open
anton-trunov opened this issue Feb 10, 2025 · 0 comments
Open

Use SendDefaultMode instead of 0 in SendParameters #1767

anton-trunov opened this issue Feb 10, 2025 · 0 comments
Assignees
Labels
scope: stdlib The Tact standard library (src/stdlib)
Milestone

Comments

@anton-trunov
Copy link
Member

Currently we have it defined as follows because of some issue with default fields and constants:

struct SendParameters {
    bounce: Bool = true;
    to: Address;
    value: Int;
    mode: Int = 0;      // <---- should be SendDefaultMode
    body: Cell? = null;
    code: Cell? = null;
    data: Cell? = null;
}

I think that issue has been solved already.

@anton-trunov anton-trunov added the scope: stdlib The Tact standard library (src/stdlib) label Feb 10, 2025
@anton-trunov anton-trunov added this to the v1.6.0 milestone Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: stdlib The Tact standard library (src/stdlib)
Projects
None yet
Development

No branches or pull requests

2 participants