mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-04 21:17:44 +00:00
add logs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "mai3-pumpfun-sdk"
|
||||
version = "2.2.3"
|
||||
version = "2.2.4"
|
||||
edition = "2021"
|
||||
authors = ["William <william@mai3.io>"]
|
||||
repository = "https://github.com/MiracleAI-Labs/pumpfun-sdk"
|
||||
|
||||
@@ -57,11 +57,13 @@ where
|
||||
}
|
||||
msg = stream.next() => {
|
||||
match msg {
|
||||
println!("msg: {}", msg);
|
||||
Some(msg) => {
|
||||
if let Some(_err) = msg.value.err {
|
||||
continue;
|
||||
}
|
||||
|
||||
println!("logs: {}", msg.value.logs);
|
||||
process_logs_callback(msg.value.signature, msg.value.logs);
|
||||
}
|
||||
None => {
|
||||
|
||||
Reference in New Issue
Block a user