-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix: ton token memo #200
fix: ton token memo #200
Conversation
Signed-off-by: Lu1zz <yu.lu@onekey.so>
Walkthrough此次更改涉及 Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant JettonWallet
participant Cell
User->>JettonWallet: create_transfer_body(to_address, jetton_amount, forward_payload)
JettonWallet->>Cell: write(0) // 写入32位无符号整数0
JettonWallet->>Cell: write(forward_payload) // 写入有效载荷字符串
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🔇 Additional comments (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
JettonWallet
类中更新了create_transfer_body
方法,新增了对forward_payload
参数的条件检查,以确保在处理转账时保持特定格式。