We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0394016 commit 750839fCopy full SHA for 750839f
src/coinbase_exchange.rs
@@ -34,12 +34,7 @@ impl ExchangeClient for CoinbaseExchangeClient {
34
let mut best_pubkey = None;
35
while let Some(addresses_result) = addresses.next().await {
36
for address in addresses_result.unwrap() {
37
- let push = match address.network.as_str() {
38
- "solana" => true,
39
- _ => false,
40
- };
41
-
42
- if push {
+ if address.network.as_str() == "solana" {
43
if let Ok(pubkey) = address.address.parse::<Pubkey>() {
44
if address.updated_at > best_pubkey_updated_at {
45
best_pubkey_updated_at = address.updated_at;
0 commit comments