From 2be261bfe513769a07688ddfcf31eb42d3c0f5ab Mon Sep 17 00:00:00 2001 From: Theo Butler Date: Sat, 14 Oct 2023 13:37:16 -0400 Subject: [PATCH] fix: recover allocation ID instead of indexer ID --- service/src/query_processor.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/service/src/query_processor.rs b/service/src/query_processor.rs index 6fe1e03f..0cfd7962 100644 --- a/service/src/query_processor.rs +++ b/service/src/query_processor.rs @@ -221,9 +221,8 @@ mod tests { }, ); - assert_eq!( - attestation_signer.verify(&attestation, request, response, &indexer), - Ok(()) - ); + attestation_signer + .verify(&attestation, request, response, &allocation.id) + .unwrap(); } }