From 7f396867e536b26355d2ca2f13780ef4c0d153d1 Mon Sep 17 00:00:00 2001 From: OpenMindTeh <113535446+OpenMindTeh@users.noreply.github.com> Date: Thu, 8 Jan 2026 13:45:25 +0300 Subject: [PATCH] fix: cli_trading example missing {:?} format for Vec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In `examples/cli_trading/src/main.rs` line 1093, the print statement uses `{}` but `signature` is now `Vec` which doesn't implement `Display`. Error: error[E0277]: Vec doesn't implement std::fmt::Display Fix: Change `{}` to `{:?}` // Before println!(" ✅ Transaction Signature: {}", signature); // After println!(" ✅ Transaction Signature: {:?}", signature); This was likely missed when updating the sell return type from single Signature to Vec. --- examples/cli_trading/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cli_trading/src/main.rs b/examples/cli_trading/src/main.rs index c2fae5e..0ad0e11 100644 --- a/examples/cli_trading/src/main.rs +++ b/examples/cli_trading/src/main.rs @@ -1090,7 +1090,7 @@ async fn handle_sell_pumpswap( match client.sell(sell_params).await { Ok((_, signature, _)) => { println!(" ✅ Successfully sold tokens from PumpSwap!"); - println!(" ✅ Transaction Signature: {}", signature); + println!(" ✅ Transaction Signature: {:?}", signature); } Err(e) => { println!(" ❌ Failed to sell tokens from PumpSwap: {}", e);