mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-16 10:28:05 +00:00
Merge branch '0xfnzero:main' into dev-work
This commit is contained in:
@@ -198,6 +198,9 @@ pub struct EventMetadata {
|
||||
pub swap_data: Option<SwapData>,
|
||||
pub outer_index: i64,
|
||||
pub inner_index: Option<i64>,
|
||||
/// Transaction message recent blockhash as base58 string (same encoding as signature), when available.
|
||||
#[serde(default)]
|
||||
pub recent_blockhash: Option<String>,
|
||||
}
|
||||
|
||||
impl EventMetadata {
|
||||
@@ -214,6 +217,7 @@ impl EventMetadata {
|
||||
inner_index: Option<i64>,
|
||||
recv_us: i64,
|
||||
tx_index: Option<u64>,
|
||||
recent_blockhash: Option<String>,
|
||||
) -> Self {
|
||||
Self {
|
||||
signature,
|
||||
@@ -229,6 +233,7 @@ impl EventMetadata {
|
||||
outer_index,
|
||||
inner_index,
|
||||
tx_index,
|
||||
recent_blockhash,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user