Skip to content

Commit a0eaa70

Browse files
committed
hotfix 2
1 parent 25f18ac commit a0eaa70

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

api/src/cache.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,14 @@ impl Cache {
367367
let cache_clone = Arc::clone(&self.claim_status_cache);
368368
tokio::spawn(async move {
369369
while let Some((pubkey, data)) = update_rx.recv().await {
370+
if data.data.claimant.to_string() == "FJWKx31QCW7yCwsVBihqx9QH5FzexbkpHgaaGrj8cbi5" {
371+
if data.data.unlocked_amount == 5000000000 {
372+
println!("skipping update for claimant: {} with amount: {}", data.data.claimant.to_string(), data.data.unlocked_amount);
373+
} else {
374+
println!("skipping update for claimant: {} with amount: {}", data.data.claimant.to_string(), data.data.unlocked_amount);
375+
continue;
376+
}
377+
}
370378
match cache_clone.entry(data.data.claimant.to_string()) {
371379
Entry::Occupied(mut entry) => {
372380
if entry.get().data == data.data {

0 commit comments

Comments
 (0)