Skip to content

Commit 5e3b1d6

Browse files
author
Etschbacher
committed
fix: added definitions
1 parent b7c24f4 commit 5e3b1d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/enhanced_websocket_transactions.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ async fn main() -> Result<()> {
1212
// Uses custom ping-pong timeouts to ping every 15s and timeout after 45s of no pong
1313
let helius: Helius = Helius::new_with_ws_with_timeouts(api_key, cluster, Some(15), Some(45)).await?;
1414

15-
let key = pubkey!("BtsmiEEvnSuUnKxqXj2PZRYpPJAc7C34mGz8gtJ1DAaH");
15+
let key: pubkey::Pubkey = pubkey!("BtsmiEEvnSuUnKxqXj2PZRYpPJAc7C34mGz8gtJ1DAaH");
1616

17-
let config = RpcTransactionsConfig {
17+
let config: RpcTransactionsConfig = RpcTransactionsConfig {
1818
filter: TransactionSubscribeFilter {
1919
account_include: Some(vec![key.to_string()]),
2020
vote: Some(false),

0 commit comments

Comments
 (0)