feat: upgrade to v0.6.6 with improved tip transfer logic

This commit is contained in:
ysq
2025-09-11 13:42:23 +08:00
parent b7275b7e18
commit fce043f087
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ pub async fn build_transaction(
instructions.extend(business_instructions);
// Add tip transfer instruction
if with_tip {
if with_tip && tip_amount > 0.0 {
instructions.push(transfer(
&payer.pubkey(),
tip_account,