From c1ebf791d4b3c573ef7d8ee9454603132de03ea2 Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Date: Tue, 26 Nov 2024 12:54:02 -0300 Subject: [PATCH] Fix for GetTableRows query with sha256 index --- Cargo.toml | 2 +- crates/antelope/src/api/v1/structs.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9d638f2..e30c422 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ members = [ ] [workspace.package] -version = "0.3.0" +version = "0.3.1" edition = "2021" rust-version = "1.75" authors = ["Jesse Schulman "] diff --git a/crates/antelope/src/api/v1/structs.rs b/crates/antelope/src/api/v1/structs.rs index 464505e..a654030 100644 --- a/crates/antelope/src/api/v1/structs.rs +++ b/crates/antelope/src/api/v1/structs.rs @@ -485,7 +485,7 @@ impl TableIndexType { TableIndexType::UINT64(value) => json!(value.to_string()), TableIndexType::UINT128(value) => json!(value.to_string()), TableIndexType::FLOAT64(value) => json!(value.to_string()), - TableIndexType::CHECKSUM256(value) => json!(value.to_index()), + TableIndexType::CHECKSUM256(value) => json!(value.as_string()), TableIndexType::CHECKSUM160(value) => json!(value.as_string()), } }