Skip to content

Commit

Permalink
remove legacy_scalar field
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus committed Feb 6, 2025
1 parent 9cfb349 commit 9eeefc0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/receipts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ pub struct IndexerQueryProtobuf {
pub indexer: Vec<u8>,
#[prost(double, tag = "6")]
pub fee_grt: f64,
#[prost(bool, optional, tag = "12")]
pub legacy_scalar: Option<bool>,
}

async fn process_messages(
Expand Down Expand Up @@ -164,9 +162,6 @@ async fn process_messages(
return;
}
for indexer_query in payload.indexer_queries {
if indexer_query.legacy_scalar.unwrap_or(false) {
continue;
}
let update = Update {
timestamp,
indexer: Address::from_slice(&indexer_query.indexer),
Expand Down

0 comments on commit 9eeefc0

Please sign in to comment.