Improvement: Add print

This commit is contained in:
ysq
2025-09-03 22:38:41 +08:00
parent 02af3e98e2
commit 692b0ce715
8 changed files with 17 additions and 9 deletions
+2 -1
View File
@@ -95,11 +95,12 @@ impl FlashBlockClient {
match poll_transaction_confirmation(&self.rpc_client, signature).await {
Ok(_) => (),
Err(e) => {
println!(" signature: {:?}", signature);
println!(" FlashBlock {} confirmation failed: {:?}", trade_type, start_time.elapsed());
return Err(e);
},
}
println!(" signature: {:?}", signature);
println!(" FlashBlock {} confirmed: {:?}", trade_type, start_time.elapsed());
Ok(())